Capabilities/moodle/site:doanything
From MoodleDocs
- This allows a user to execute all actions in Moodle in the given context (normally the whole Moodle system). This is a special capability intended for admins, since it overrides all other capability settings.
- This also allows a user to browse every course without being required to enrol and without being listed as a course participant.