-
Bug
-
Resolution: Fixed
-
Minor
-
3.4 regressions, 3.4.2, 3.5
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_34_STABLE
-
MDL-61956-master -
In our 3.2 instance I can go to a hidden course (Visible=Hide) as a Teacher and Switch role to Student to evaluate my course. When emulating a student I can explore the course fully even though it is technically 'hidden'.
In 3.4 we have found that trying to switch role to a Student in a hidden course produces the error message 'Sorry, but you do not currently have permissions to do that (View hidden courses) '. So it is now enforcing the Student role much more literally inside of the hidden course and no emulation is possible.
- Go to a course where you have the Teacher role.
- Via Edit Settings set the Visible setting to Hide
- Via the User menu select Switch role to
- Select the Student role from the list
- Instead of being able to explore the course as a student you will see ' 'Sorry, but you do not currently have permissions to do that (View hidden courses) '.
- is duplicated by
-
MDL-62038 Switch role feature: Switching role to student in hidden courses cause error when calendar blocks are placed
- Closed