Capabilities/moodle/role:assign: Difference between revisions
From MoodleDocs
m (French link) |
Helen Foster (talk | contribs) (default settings, see also) |
||
Line 1: | Line 1: | ||
*This allows a user to assign roles in context. | *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]]. 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 admin role in their 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]]. 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 admin role in their course. | ||
*The default teacher role has this capability set to allow. It is not set for the default non-editing teacher role. | |||
==See also== | |||
* [[Allow role assignments]] | |||
[[Category:Capabilities|Role]] | [[Category:Capabilities|Role]] |
Latest revision as of 11:19, 21 February 2008
- 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. 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 admin role in their course.
- The default teacher role has this capability set to allow. It is not set for the default non-editing teacher role.