Moodle roles

Roles define what users can or cannot see and do in your Moodle system. Moodle comes with a number of pre-defined roles—we already saw Student and Teacher—but it also allows us to create our own roles; for instance, for parents or external assessors.

Each role has a certain scope (called context), which is defined by a set of permissions (expressed as capabilities ). For example, a teacher is allowed to grade an assignment whereas a student isn't. Or, a student is allowed to submit an assignment, whereas a teacher isn't.

Note

A role is assigned to a user in a context.

Okay, so what is a context? A context is a ring-fenced area in Moodle where roles can be assigned to users. A user can be assigned different roles in different contexts; ...

Get Moodle 2 Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.