Capabilities/moodle/role:assign: Difference between revisions
From MoodleDocs
(ja link) |
Helen Foster (talk | contribs) (page update) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
*This allows a user to assign roles in context. | {{Capabilities}} | ||
*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 | *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. | |||
==See also== | |||
* [[Managing roles]] | |||
[[Category:Capabilities|Role]] | [[Category:Capabilities|Role]] | ||
[[Category:Roles]] | [[Category:Roles]] | ||
[[fr: | [[fr:Capabilities/moodle/role:assign]] | ||
[[ja:ケイパビリティ/moodle/role:assign]] | [[ja:ケイパビリティ/moodle/role:assign]] |
Latest revision as of 08:06, 25 April 2012
- 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.