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:switchroles.

Capabilities/moodle/role:switchroles

From MoodleDocs
Revision as of 06:01, 27 July 2007 by Yu Zhang (talk | contribs)
  • This allows a user to switch temporarily to another role so that they can see what the course would look like to someone with that role (much like the "student view" functionality in Moodle 1.6).
  • The roles available in the "Switch role to..." drop-down menu are the same as the roles that a user is allowed to assign to other users.
  • A user can only switch to roles he/she can assign. That means he/she needs moodle/role:assign at the course context as well the correct settings in the "Allow role assignments" setting.