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.

Roles and permissions: Difference between revisions

From MoodleDocs
(Fixed french link)
 
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Roles}}{{Moodle 1.7}}Roles 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.
{{Managing a Moodle site}}
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.  


==Definitions==
*[[Managing roles]]
;Role
*[[Assign roles]]
:An identifier of the user's status. The status depends upon permissions given for one or more capabilities in a context.
*[[Roles settings]]
::For example Teacher and Student are standard user roles. The identifier indicates they probably have different capabilities in some contexts. 
*[[Using roles]]
:When Moodle is first installed, a number of [[Standard roles]] are created automatically.
*[[Standard roles]]
;Capability
*[[Creating custom roles]]
: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].
*[[Permissions]]
::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.
*[[Override permissions]]
;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.


==See also==
==See also==


*[[Development:Roles]]
*[[Roles FAQ]]
*[[:Category:Capabilities]]
*Using Moodle [http://moodle.org/mod/forum/view.php?id=6826 Roles and Capabilities forum]
*[[Upgrading to Moodle 1.7]]
*[[Upgrading to Moodle 1.8]]
*[[How permissions are calculated]]


[[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]]

Latest revision as of 17:44, 22 October 2012

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.

See also