There used to be an Inspector Role in the documentation but that seems to be missing now. The instructions for creating roles are here https://docs.moodle.org/28/en/Manage_roles but there are no specifics.
We have two inspector roles here that perform various tasks.
We have an Inspector which is allowed into any course.
The main capabilities that they have is.
- View Course Without Participation
This gets them into a main course page without showing up as participating. Then you need to add more specific capabilities too.
- View Resource
- View Page
- View URL
Also similar for all Activities
e.g. View Glossary, View Database, View quiz information, Preview Quizzes etc...
We also have a Quality Inspector that can do all of that plus view reports
- View Course Logs
- View Live Logs
- See Hidden Categories
- View Course Statistics
- View Course Participation Report