Capabilities/moodle/role:override: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) m (link edit) |
Helen Foster (talk | contribs) (link added) |
||
Line 1: | Line 1: | ||
*This allows a user to override a capability in a role in context. | *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 | * 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. | ||
[[Category:Capabilities|Role]] | [[Category:Capabilities|Role]] | ||
[[Category:Roles]] | [[Category:Roles]] | ||
[[zh:能力/moodle/role:override]] | [[zh:能力/moodle/role:override]] |
Revision as of 20:15, 1 March 2007
- 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.