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

Rules are only applied, when user was manually updated, not when created or logged in #61

Open Poe2024 opened 5 months ago

Poe2024 commented 5 months ago

I can't seem to get the Plug-In to work and I have no idea why that could be. I created a profile field, assigning every user to an organisation and then created the rule, that every user in the organisation should be in a cohort. No user was assigned.

When I clicked on a single user and updated the profile, they would then be assidned to the cohort. But when a new user is created or a user logs in, they are not assigned. Only after being manually updated, which of yourse defeats the purpose of the Plug-In automatically managing the cohorts. Is there anything I can do to fix this issue. I would really appreciate the help.