Capabilities/moodle/legacy:admin
From MoodleDocs
moodle/legacy:admin is implemented for backward compatibility. It is flag to tell Moodle that this role is a admin role. It is not required to set any legacy flags.
moodle/legacy:admin is implemented for backward compatibility. It is flag to tell Moodle that this role is a admin role. It is not required to set any legacy flags.