Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6.6, 3.7.2
-
Component/s: Quiz
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
To reproduce:
- Create a course.
- Enrol a student and a non-editing teacher.
- Make a group 'Test group' and put both users in the group.
- Add a quiz, set to 'Separate groups' mode.
- Go to Quiz settings -> results -> Grades.
- Change the setting to "enrolled users who have, or have not, attempted the quiz"
Expected result: the student is listed. The teacher is not. (It is acutally controlled by the capabilities 'mod/quiz:attempt', 'mod/quiz:reviewmyattempts', not roles.)
Actual result: both users are listed.
Note: if you set the Group selector to own show people in 'Test group' then the works and only the student is shown.