|
|
(10 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | {{Roles and capabilities}} | + | {{Managing a Moodle site}} |
− | <p class="note">'''Please refer to [[TOC_with_notes#Roles and capabilities|these notes]] before editing this page.'''</p>
| + | A role is a collection of permissions defined for the whole system that you can assign to specific users in specific contexts. The combination of roles and context define a specific user's ability to do something on any page. The most common examples are the roles of student and teacher in the context of a course. |
− | Roles are groups of permissions. Users are assigned roles in specific [[Context|contexts]]. The combination of roles and context define a specific user's capability on any page. The most common example are the roles of student and teacher in the context of a course.
| |
| | | |
− | :'''Note:''' In many instances "capabilities" and "permissions" are used interchangeably, but they are actually a pair. Capabilities are editable variables, whereas permissions are the value give to a capability.
| + | *[[Managing roles]] |
− | | + | *[[Assign roles]] |
− | ==Definitions==
| + | *[[Roles settings]] |
− | ;Role
| + | *[[Using roles]] |
− | :An identifier of the user's status within each [[Context]]. The status depends upon permissions given for one or more capabilities in any given context. A role can often change within different contexts.
| + | *[[Standard roles]] |
− | ::For example Teacher and Student are standard user roles. These roles probably have different capabilities in some contexts but may share permissions in the other.
| + | *[[Creating custom roles]] |
− | :When Moodle is first installed, a number of [[Standard roles]] are created automatically.
| + | *[[Permissions]] |
− | ;Capability
| + | *[[Override permissions]] |
− | :A description of a particular Moodle feature. A list of many capabilities can be seen in the [https://docs.moodle.org/en/Category:Capabilities capability category index page].
| |
− | ::For example [[Capabilities/moodle/blog:create|moodle/blog:create]](writing blog entries) or "Backup course" are two capabilities. Note the "<nowiki>mod/blog:create</nowiki>" notation is a common to identify a capability.
| |
− | ;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.
| |
− | :A "course" in Moodle.
| |
− | [[Image:context.png|center|thumb|150px|Each context can have a different role assigned to a User]] | |
| | | |
| ==See also== | | ==See also== |
| | | |
− | *[[Useful things a teacher can do with roles]] | + | *[[Roles FAQ]] |
− | *[[Development:Roles administration improvements for Moodle 2.0]]
| |
− | *[[How permissions are calculated]]
| |
− | *[[:Category:Capabilities]]
| |
− | *Using Moodle [http://moodle.org/mod/forum/view.php?id=6826 Roles and Capabilities forum]
| |
| | | |
| [[Category:Roles]] | | [[Category:Roles]] |
| | | |
− | [[cs:Role]]
| |
| [[es:Roles y capacidades]] | | [[es:Roles y capacidades]] |
| [[eu:Rolak]] | | [[eu:Rolak]] |
− | [[fr:Rôles et capacités]] | + | [[fr:Rôles et permissions]] |
| [[ja:ロールおよびケイパビリティ]] | | [[ja:ロールおよびケイパビリティ]] |
− | [[ru:Роли и возможности]]
| |
| [[de:Rollen und Rechte]] | | [[de:Rollen und Rechte]] |
A role is a collection of permissions defined for the whole system that you can assign to specific users in specific contexts. The combination of roles and context define a specific user's ability to do something on any page. The most common examples are the roles of student and teacher in the context of a course.