Capabilities/moodle/course:view

Från MoodleDocs
Version från den 26 oktober 2010 kl. 13.30 av Helen Foster (diskussion | bidrag) (info on different meaning in 2.0 thanks to Ashley Holman MDL-24820)
Hoppa till:navigering, sök

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

Mall: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