-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.7.6, 2.8.4, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
During MDL-48572 integration I've realised that site-wide suspended users are not being filtered, I am not 100% that it is expected that get_enrolled_users and count_enrolled_users are not filtering site suspended users when asking for $onlyactive.
To reproduce the problem:
- Go to a course with manual enrolments (students)
- Go to the gradebook, you can see all the students
- Go to one of the students profile page and edit it as admin, setting suspended to 1
- Return to the gradebook, the user is still there
- has a non-specific relationship to
-
MDL-35731 Hide users with suspended enrolments in multiple areas
- Open
- will be (partly) resolved by
-
MDL-67103 Suspended user accounts should not have active enrollments in course
- Closed
- will help resolve
-
MDL-42189 User can still see grade in overview report for the courses where their enrolment is suspended
- Closed