Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: Capabilities/moodle/role:assign.

Capabilities/moodle/role:assign: Difference between revisions

From MoodleDocs
m (categories)
m (Added link to spanish translation of page)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
allows a user to assign roles in context. note that to assign a role A to another user, the user  doing the assignment has to hold a role B so that role B is permitted to assign role A. This is controlled in the roles allow assign settings.  
{{Capabilities}}
*This allows a user to [[Assign roles|assign roles]] in a given context (system, front page, course category or course).
*Note that to assign a role A to another user, the user  doing the assignment has to hold a role B so that role B is permitted to assign role A. This is controlled in 'Allow role assignments' in ''Settings > Site administration > Users > Permissions > Define roles''. This is logical because even though a teacher might have moodle/role:assign, in most situations we only want them to be able to assign users the student role, and not the manager role in their course.
*This capability is allowed for the default roles of manager and teacher.


This is logical because even though a teacher might have moodle/role:assign, in most situations we only want him to be able to assign users the student role, and not the admin role in his own course.
==See also==


[[Category:Administrator]]
* [[Managing roles]]
[[Category:Capability]]
 
[[Category:Capabilities|Role]]
[[Category:Roles]]
 
[[fr:Capabilities/moodle/role:assign]]
[[ja:ケイパビリティ/moodle/role:assign]]
[[es:Capabilities/moodle/role:assign]]

Latest revision as of 16:19, 17 January 2014

  • This allows a user to assign roles in a given context (system, front page, course category or course).
  • Note that to assign a role A to another user, the user doing the assignment has to hold a role B so that role B is permitted to assign role A. This is controlled in 'Allow role assignments' in Settings > Site administration > Users > Permissions > Define roles. This is logical because even though a teacher might have moodle/role:assign, in most situations we only want them to be able to assign users the student role, and not the manager role in their course.
  • This capability is allowed for the default roles of manager and teacher.

See also