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

Capabilities/moodle/role:assign: Difference between revisions

From MoodleDocs
m (categories)
m (link edit)
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.  
*This 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. 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.
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.


[[Category:Administrator]]
[[Category:Administrator]]
[[Category:Capability]]
[[Category:Capabilities|Role]]
[[Category:Roles]]

Revision as of 13:44, 14 February 2007

  • This 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. 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.