SAML auth update user issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
20.04 |
Fix Released
|
High
|
Unassigned | ||
20.10 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
Currently if you have a user in Mahara that logs in via SAML and has update user option set then their admin/staff status is updated. If this info is not being passed in via SAML from IdP it means they are updated to be normal members.
We should only do this updating if any of the SAML instance settings are set for:
- rolesiteadmin
- rolesitestaff
- roleinstadmin
- roleinststaff
And if the particular one is not set to ignore updating this part of the user's profile
Also we need to check that the following is correct
if ($institutionrole == 'admin') {
}
Should it be $institution-
Thanks go to SWITCH for sponsoring this fix.
Changed in mahara: | |
importance: | Undecided → High |
status: | New → Confirmed |
milestone: | none → 20.10.0 |
description: | updated |
Changed in mahara: | |
milestone: | 20.10.0 → none |
Patch for "master" branch: https:/ /reviews. mahara. org/11174