Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Capabilities/moodle/role:override.

Capabilities/moodle/role:override

From MoodleDocs
Revision as of 14:22, 24 July 2008 by Helen Foster (talk | contribs) (link edit)
  • 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