-
Bug
-
Resolution: Fixed
-
Critical
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
MDL-57001-master -
Currently in Boost without blocks, switchrole has been knobbled somewhat.
When using blocks (eg non Boost), you can switch to a role on any page via the admin block. The role is changed and you are bounced back to the same page with the new role. This is great for quick previews of anything in the course.
Without using the admin block, you need at least six clicks to
- go to course page
- select course admin settings menu
- go to switch roles tab
- select role and save
- go back to course page
- go back to the page you were on
Switching BACK to the original role is still nice and easy - you use the last item in the user menu.
I propose that we add a permanent item to the user menu for teachers called "Switch to another role..." which takes you to /course/switchrole.php which explains role switching and has a list of role buttons. Clicking on any one will immediately take you back to the original page you were on with the new role.