Roles and permissions

Moodle allows specific roles to be able to change other specific role capabilities based on the context. For example, a teacher in a course may want all students (users with a student role) to be able to edit all forums in that course. Or a teacher may want all students in a specific forum to be able to edit that forum.

If you want to give a specific student the ability to edit a specific activity, see Override permissions.


Course and activity permissions

Click the Allow icon (+) opposite a capability to give permission to additional roles or the Prevent icon (X) to take away permission.

Front page permissions

Front page permissions can be changed in Front page settings > Users > Permissions and for a particular activity in Activity administration > Permissions.

Block permissions

To change role permissions for a block

  1. Turn editing on in the course
  2. In the actions menu in the header of the block, click Permissions'.

Checking permissions

A teacher can check permissions for their course in Course administration > Users > Permissions > Check permissions and for a particular activity in Activity administration > Check permissions.

An administrator can check system permissions in Site administration > Users > Permissions > Check system permissions.

The review permissions for others capability (allowed for the default roles of manager, teacher and non-editing teacher) controls whether a user can check permissions.

Capability overview report

An administrator can generate a capability overview report in Site administration > Users > Permissions > Capability report.

The report allows the administrator to select a capability and one or more roles. The report will show the role and its permission level for that capability. And if that capability was overridden for the role where in the site. For example, it might show that the gradereport:user view capability for a student role is set at the system level as "Allow" and for Course 1 it is set to "Prohibit".

It is possible to select more than one capability with more than one role and have an overview of all.

See also