-
Bug
-
Resolution: Fixed
-
Minor
-
3.6.6, 3.7.2
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
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.