Context: Difference between revisions
(Changed name from Role contexts) |
(Add a heading, reword it a bit, still not real happy but..) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
A context is a "space" in Moodle. The context is combined with [[Role permissions]] to define a user's [[Roles and capabilities|capabilities]] on any page in Moodle. | 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 [[Roles and capabilities|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. | 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. | 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. | ||
==See also== | ==See also== | ||
[[Category:Roles]] | [[Category:Roles]] |
Revision as of 10:39, 17 July 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.