Contexts
Contexts are the areas in Moodle where roles can be assigned to users. A role can be assigned within different contexts. A user has a role in any given context, where a context can be a course, an activity module, a user, a block, or Moodle itself. Moodle comes with the following seven contexts that you will come across a lot in this chapter.
Role |
Coverage |
---|---|
System |
Entire Moodle system (also known as core or global context) |
Category |
Categories and sub-categories |
Course |
Courses |
Activity |
Course activities and resources |
Block |
Moodle blocks |
User |
Users |
Front Page |
Front Page and files that can accessed outside courses |
Each context is like a ring-fenced area in which certain actions can be carried out. It is sometimes referred to as scope. You can compare this to a large company with multiple divisions and departments. A manager in the Finance division has certain rights and shoulders responsibilities of every department in his division, but these do not apply to departments...