-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.7
-
MOODLE_27_STABLE
When a teacher doesn't have accessallgroups capability, it seems the participant count on the assignment screen says the total number of participants, rather than the participants who that teacher has access to.
Replication instructions:
- As Admin...
- Create/edit a teacher role without the accessallgroups capability
- Create a course
- Enrol two students
- Create two groups with a single student in each
- Assign a user as a (non accessallgroups) teacher
- Add that teacher to one of the groups
- Create an assignment in separate groups mode
- As a teacher, visit the assigment. observer that the participant count and then click on the list of submissions and observer the number of submissions
Expected result:
- The teacher should see the same number of participants as is in the summary page (1).
Actual result:
- The teacher can see the total participant count (2) but only one student in the grading screen