markward / local_autogroup

A local plugin for Moodle 2.7 onwards which handles the dynamic creation, population and cleanup of groups on courses.
3 stars 25 forks source link

Disabled Enrollment Users #17

Open nbartley opened 7 years ago

nbartley commented 7 years ago

Auto-group 2.1, Moodle 3.2.3 Good day,

We have noticed a small issue with the auto-group plugin.

When you disable a user's enrollment, the plugin continues to update their group. This can create groups which don't apply to a course.

Immediate resolution: When a user is disabled, do not touch group enrollment Better resolution: When a user is disabled, remove all group enrollment and ignore user Best resolution: When a user is disabled, have the option to remove group or add to generic group.

To make it clear why this is a problem, we like having the user's disabled ghost present in a course to easily access information/results from that user regardless which course they are currently enrolled in. We disable their enrollment and leave them enrolled in a course for this purpose.