Capabilities/moodle/role:override: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) (default setting) |
Helen Foster (talk | contribs) (moodle/role:safeoverride link) |
||
Line 7: | Line 7: | ||
*[[Override roles]] | *[[Override roles]] | ||
*[[Allow role overrides]] | *[[Allow role overrides]] | ||
*The capability [[Capabilities/moodle/role:safeoverride|moodle/role:safeoverride]] (in Moodle 1.9.3 onwards) | |||
[[Category:Capabilities|Role]] | [[Category:Capabilities|Role]] |
Revision as of 13:16, 24 July 2008
- This allows a user to override a capability in a role in context.
- Note that to override a capability in role A, the user doing the override has to hold a role B so that role B is permitted to override role A. This is controlled in Allow role overrides. This is logical because even though a teacher might have moodle/role:override, in most situations we only want him to be able to override capabilities of the student role, and not the admin role in their course.
- This capability is not set for the default teacher role.
See also
- Override roles
- Allow role overrides
- The capability moodle/role:safeoverride (in Moodle 1.9.3 onwards)