moodle-an-hochschulen / moodle-local_profilecohort

Moodle plugin which lets admins manage cohort memberships based on users' custom profile fields
GNU General Public License v3.0
23 stars 19 forks source link

Some Users are skipped #60

Open phodder63 opened 4 months ago

phodder63 commented 4 months ago

We have set up a profile field base cohort that is based off of two checkbox style profile fields. The rules are set up to assign users to a cohort if value 1 is "No" and value 2 is "Yes". The rule works for a vast majority of the users (3600+), but we have found there is a subset (35) of users that are not added. Of the 35 users, we verified that none are suspended or deleted. We also reviewed their login activity and nearly all of them had recent logins. We also reviewed mdl_user.lastlogin and mdl_user.timemodified and determined that many had very recently logged in or changed their account profile; two of the events that should trigger cohort membership (in addition to the regularly scheduled task that updates the cohort).