Fixed
Details
Priority
MajorAffects versions
Fix versions
Components
Assignee
Brian BaillargeonBrian BaillargeonReporter
Brian BaillargeonBrian Baillargeon
Details
Details
Priority
Affects versions
Fix versions
Components
Assignee
Brian Baillargeon
Brian BaillargeonReporter
Brian Baillargeon
Brian BaillargeonCreated January 18, 2019 at 11:04 AM
Updated March 8, 2019 at 10:05 AM
Resolved March 8, 2019 at 10:05 AM
See the testing section for a description of the issue
If you query the sakai_realm_rl_gr, you can see the user popping in and out of the site, likely once every time refreshAuthzGroup is invoked.
Note that user EIDs in sakai_user_id_map are always inserted in lower case.
My best guess to the cause is that
RefreshAuthzGroup adds the users from the providers.
The next RefreshAuthzGroup invocation checks the providers to see if the student is still there
It looks them up in lower case (using the value from sakai_user_id_map)
It doesn't match the cm_ tables which maintain the same case
The user is therefore removed from the realm
RefreshAuthzGroup adds the users from the providers again, and the process repeats
Proposed solution: convert any user EIDs to lower case before they are inserted into the Course Management tables