Context: Difference between revisions
(Add a heading, reword it a bit, still not real happy but..) |
Colin Fraser (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
[[Category:Roles]] | [[Category:Roles]] | ||
[[Beginning_Administration_FAQ | Beginning Administration FAQ]] |
Revision as of 11:34, 15 August 2009
A context is a "space" in Moodle. Together, they define the navigational structure of a Moodle site. A course can be a context, so can an activity, resource or block.
Role contexts
The context is combined with Role permissions to define a user's capabilities on any page in Moodle. In the context of a specific course, some users have the permissions of a student and others of a teacher. While in another course, the same users may be assigned different roles because they are in a different context.
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. Or a user can be a teacher of one course and a student in another course.