Roles and permissions: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) (permissions (moved to Manage roles)) |
(→Definitions: Format, provide examples for each) |
||
Line 3: | Line 3: | ||
==Definitions== | ==Definitions== | ||
;Role | ;Role | ||
:An identifier of the user's status in | :An identifier of the user's status. The status depends upon permissions given for one or more capabilities in a context. | ||
::For example Teacher and Student are standard user roles. The identifier indicates they probably have different capabilities in some contexts. | |||
;Capability | ;Capability | ||
:A description of a particular Moodle feature | :A description of a particular Moodle feature. | ||
::For example [[Capabilities/moodle/blog:create|moodle/blog:create]](creating blogs) or "Backup course" are two capabilities. | |||
;Permission | ;Permission | ||
:A setting for a capability | :A setting for a capability. Can be any one of four: not set/inherit, allow, prevent or prohibit. | ||
;Context | ;Context | ||
:A "space" in Moodle, | :A "space" in Moodle. | ||
::For example: a course, activity module or block can each be a context. | |||
::Some contexts can contain multiple contexts in their space, For example, a course can contain a lesson, assignment, forum and quiz modules, plus blocks. | |||
==See also== | ==See also== |
Revision as of 20:43, 20 February 2008
Template:Moodle 1.7Roles and capabilities in Moodle 1.7 onwards provides great flexibility in managing how users interact. Prior to Moodle 1.7, there were only six roles possible: guest, student, non-editing teacher, editing teacher, course creator, and administrator. Whilst these roles may still be used, it's now possible to create additional roles, and to change what a given role can do in a particular activity.
Definitions
- Role
- An identifier of the user's status. The status depends upon permissions given for one or more capabilities in a context.
- For example Teacher and Student are standard user roles. The identifier indicates they probably have different capabilities in some contexts.
- Capability
- A description of a particular Moodle feature.
- For example moodle/blog:create(creating blogs) or "Backup course" are two capabilities.
- Permission
- A setting for a capability. Can be any one of four: not set/inherit, allow, prevent or prohibit.
- Context
- A "space" in Moodle.
- For example: a course, activity module or block can each be a context.
- Some contexts can contain multiple contexts in their space, For example, a course can contain a lesson, assignment, forum and quiz modules, plus blocks.