XMLRPC web services don't honor $cfg->usersuniquebyusername
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Ghada El-Zoghbi |
Bug Description
As reported in the forum: https:/
If you set $cfg->usersuniq
This is in contrast to the normal method, in which we look up their remote username in the auth_remote_user table, and use that to map them to a Mahara user.
The problem is that many of the XMLRPC web services methods, used by the Moodle plugins, call a method api/xmlrpc/lib.php : find_remote_
What we should do is, if $cfg->usersuniq
Changed in mahara: | |
status: | Confirmed → Fix Committed |
milestone: | none → 16.04.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Marked low priority because it will only rarely cause any problems. Normally, even if you have $cfg->usersuniq uebyusername enabled, we create auth_remote_user records for each user anyway, with the remote username set the same as the user's Mahara username.
So, this bug will only cause problems if the auth_remote_user record is missing for some reason, or if it has a value different than the user's Mahara username.