Adding user to new institution changes auth method for all users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon |
Bug Description
When testing on master I did the following:
1) Upgrade an existing site from 16.10 -> Master
2) Checked the auth instance of all of the users (it was 1 = mahara / internal)
3) Created a new institution and added 'webservice' auth and deleted internal auth and saved
4) Checked the auth_instance table - there was only mahara/internal and newinstitution/
5) On admin user edit page I add a user to the new institution - they go from mahara/internal to newistitution/
6) On checking the auth_instance table there is now a newinstitution/
But the problem comes when I check the usr table - all the users have this new newinstitution/
There is something wrong with adding user to institution
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/9046