Confused between "Assign Roles" and "Override Roles"

Re: Confused between "Assign Roles" and "Override Roles"

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
A role is a collection of permission. For example the Teacher role has capability mod/quiz:preview, and does not have mod/quiz:attempt.

Normally, these capabilities are set globally, so the Teacher role can do the same things everywhere.

However, sometimes, you want to change the definition of a role in a particular place. For example, in one particular Forum, you might want to give students the ability to moderate that forum. You can do this with role overrides. Override the Student role in that forum, to allow it a few extra mod/forum:xxx capabilities.

I hope that makes it clear.