Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.7.5, 3.8.2
-
Component/s: Roles / Access
-
Testing Instructions:
-
Affected Branches:MOODLE_37_STABLE, MOODLE_38_STABLE
-
Fixed Branches:MOODLE_37_STABLE, MOODLE_38_STABLE
-
Pull from Repository:
-
Pull 3.8 Branch:
MDL-68402_38 -
Pull 3.8 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
The place this can make a difference is in the quiz reports: steps to reproduce:
- Go to the quiz report for a quiz (e.g. https://qa.moodledemo.net/mod/quiz/report.php?id=30&mode=overview)
- Note that some students are shown
- In another tab, open the Permissions setting for that quiz (e.g. https://qa.moodledemo.net/admin/roles/permissions.php?contextid=9063)
- Remove one of the mod/quiz:reviewmyattempts or mod/quiz:attempt capabilities, but not both.
- Reload the quiz report.
Expected result: the students are not shown.
Actual result: 'No students enrolled in this course yet' message.
Original report came from this thread: https://moodle.org/mod/forum/discuss.php?d=400078#p1615266