-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.7, 4.0.9, 4.1.4, 4.2.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MDL-78457-403 -
It appears that the Participants page when using Switch Role to changes and displays to site id 1 instead of the course id number.
Using theme_boost
1. As admin, go to site administration / users / permissions / define roles
2. Click the cog/edit for Student role
3. Set View participantsmoodle/site:viewparticipants = Prohibit
4. Set View participantsmoodle/course:viewparticipants = Prohibit
5. Create a course, say the url of the course is http://localhost/vanilla/course/view.php?id=3.
6. As admin, click Participants. It will redirect you to http://localhost/vanilla/user/index.php?id=3
7. Go back to course page.
8. Click your profile and click "Switch role to"
9. Select student.
10. Go back to course page, click Participants.
RESULT: It redirects you to http://localhost/vanilla/user/index.php?id=1 which contains all the site-wide users.
- has been marked as being related by
-
MDL-78173 Wrong redirect when switching to another user as admin
-
- Closed
-
-
MDL-78845 Link to course participants always goes to course 1
-
- Closed
-
-
MDL-80660 Switch role on Dashboard redirects to Site Home
-
- Closed
-
- is a regression caused by
-
MDL-73743 Missing items in the Site home secondary navigation
-
- Closed
-