Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Role contexts.

Role contexts: Difference between revisions

From MoodleDocs
m (see page comment)
m (Put in Roles category)
Line 5: Line 5:


It is possible to assign a user different permissions based upon a specific context. For example, a user might be given the role of "student" for a course but be given a teacher's role in the context of one specific forum.
It is possible to assign a user different permissions based upon a specific context. For example, a user might be given the role of "student" for a course but be given a teacher's role in the context of one specific forum.
==See also==
[[Category:Roles]]

Revision as of 11:42, 16 July 2009

A context is a "space" in Moodle. The context is combined with Role permissions to define a user's capabilities on any page in Moodle. A course is a good example of a context, where some users have the permissions of a student and other users have the permissions of a teacher.

In Moodle 1.7 and onward, a permission context can include an activity module or a block. Thus a course can have many contexts in its space. These might include lesson, assignment, forum and quiz modules and blocks.

It is possible to assign a user different permissions based upon a specific context. For example, a user might be given the role of "student" for a course but be given a teacher's role in the context of one specific forum.

See also