Difference between revisions of "Allow role overrides"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: Allow role overrides.

(Enabling teachers to set role overrides: pre-1.9.3)
Line 10: Line 10:
 
{{Moodle 1.9}}In Moodle 1.9.3 onwards, the default teacher role has the capability moodle/role:safeoverride allowed, and the non-editing teacher, student and guest boxes in the teacher row are checked by default, meaning that teachers can override certain permissions (i.e. ones without major risks attached to them) for these roles.
 
{{Moodle 1.9}}In Moodle 1.9.3 onwards, the default teacher role has the capability moodle/role:safeoverride allowed, and the non-editing teacher, student and guest boxes in the teacher row are checked by default, meaning that teachers can override certain permissions (i.e. ones without major risks attached to them) for these roles.
  
==Enabling teachers to set role overrides==
+
==Enabling teachers to set role overrides (pre-1.9.3)==
  
 
[[Image:Administration Block Site Roles AllowRoleOverrides.JPG|thumb|Allow role overrides in Moodle 1.8]]
 
[[Image:Administration Block Site Roles AllowRoleOverrides.JPG|thumb|Allow role overrides in Moodle 1.8]]

Revision as of 14:15, 24 July 2008

Location: Administration > Users > Permissions > Define roles


This page is for setting which roles can be overridden by each role.

Note that these settings only apply to users who have the capability moodle/role:override allowed (or, in Moodle 1.9.3 onwards, the capability moodle/role:safeoverride allowed).

The default administrator role has the capability moodle/role:override allowed, and all the boxes in the administrator row are checked by default, meaning that admins can override permissions for all other roles.

Template:Moodle 1.9In Moodle 1.9.3 onwards, the default teacher role has the capability moodle/role:safeoverride allowed, and the non-editing teacher, student and guest boxes in the teacher row are checked by default, meaning that teachers can override certain permissions (i.e. ones without major risks attached to them) for these roles.

Enabling teachers to set role overrides (pre-1.9.3)

Allow role overrides in Moodle 1.8

To enable teachers to set role overrides in versions of Moodle prior to 1.9.3, you need to first allow the capability to override roles and then set which role(s) teachers can override.

  1. Access Administration > Users > Permissions > Define roles.
  2. Edit the teacher role and change the capability moodle/role:override to allow.
  3. Click the button "Save changes".
  4. Click the tab "Allow role overrides" (in Administration > Users > Permissions > Define roles)
  5. Check the appropriate box(s) in the teacher row to set which role(s) teachers can override. Most likely it will just be the student role (you don't want teachers to be able to override admins), so check the box where the teacher row intersects with the student column.
  6. Click the button "Save changes".