Inspector role
From MoodleDocs
The role of Inspector may be used to provide external inspectors with permission to view all courses (without being required to enrol).
Role set-up
- Access Administration > Users > Permissions > Define roles
- Click the button "Add a new role"
- Give the role a name e.g. Inspector, short name and description
- Change the capability moodle/course:view to allow
- Click the button "Add a new role"
Role assignment
- Access Administration > Users > Permissions > Assign system roles
- Choose the role to assign
- Select a user in the potential users list, and use the left-facing arrow button to add it to the existing users list
- Optional (from 1.8 onwards): To hide an Inspector role user, click the "Hidden assignments" check box before adding them to the existing users list. (If this is not done, then the user is listed as a course participant.)
Notes
Since the inspector role has been given the moodle/course:view capability, inspectors will
- see all courses in their "My Courses" list, in "My Moodle", etc.,
- see events from all courses in their personal calendar,
- be shown to teachers as a course participant in any case (though marked as "hidden assignment" if set up this way).
See also
- Manage roles - including testing a new role
- Video showing how to create an inspector role in Moodle
- MDL-21586 - hide results of "inspector" role assignments from Moodle Calendar and My Courses