Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Capabilities/moodle/course:view.

Capabilities/moodle/course:view

From MoodleDocs

Note: This capability has a different meaning in Moodle 2.0 onwards compared with pre-2.0.

moodle/course:view pre-2.0

  • This capability 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.

moodle/course:view in Moodle 2.0

Moodle 2.0

  • This capability allows a user to view a course without being enrolled in it.
  • Users with this capability are NOT listed as course participants.
  • The default manager role has this capability set to allow. For all other default roles, the capability is not set.

Examples of capability usage