Capabilities/moodle/course:view
From MoodleDocs
- This allows a user to view a course.
- Users with this capability are listed as course participants unless the role is a hidden assignment.
- The default teacher, non-editing teacher, student and guest roles have this capability set to allow. It is not set for the default administrator role, since this role has the moodle/site:doanything capability instead.
Legacy Role Default Settings
| Legacy Role | Inherit | Allow | Prevent | Prohibit
|
| Administrator | - | X | - | -
|
| Course Creator | X | - | - | -
|
| Teacher | - | X | - | -
|
| Non-editing Teacher | - | X | - | -
|
| Student | - | X | - | -
|
| Guest | - | X | - | -
|
| Authenticated User | X | - | - | -
|
Examples of capability usage