Difference between revisions of "Roles and permissions"
Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: Roles and permissions.
(→Definitions: Format, provide examples for each) |
m (→Definitions: write blog entries, not create) |
||
Line 7: | Line 7: | ||
;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]]( | + | ::For example [[Capabilities/moodle/blog:create|moodle/blog:create]](writing blog entries) or "Backup course" are two capabilities. |
;Permission | ;Permission | ||
:A setting for a capability. Can be any one of four: not set/inherit, allow, prevent or prohibit. | :A setting for a capability. Can be any one of four: not set/inherit, allow, prevent or prohibit. |
Revision as of 20:44, 20 February 2008
Roles and permissions
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(writing blog entries) 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.