← Back to team overview

mahara-contributors team mailing list archive

[Bug 1785514] [NEW] Adding user to new institution changes auth method for all users

 

Public bug reported:

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/webservice options

5) On admin user edit page I add a user to the new institution - they go
from mahara/internal to newistitution/internal auth.

6) On checking the auth_instance table there is now a
newinstitution/internal option - which is correct as the user will still
need internal auth

But the problem comes when I check the usr table - all the users have
this new newinstitution/internal  option no matter what institution they
are currently in

There is something wrong with adding user to institution

** Affects: mahara
     Importance: High
         Status: Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1785514

Title:
  Adding user to new institution changes auth method for all users

Status in Mahara:
  Confirmed

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/webservice options

  5) On admin user edit page I add a user to the new institution - they
  go from mahara/internal to newistitution/internal auth.

  6) On checking the auth_instance table there is now a
  newinstitution/internal option - which is correct as the user will
  still need internal auth

  But the problem comes when I check the usr table - all the users have
  this new newinstitution/internal  option no matter what institution
  they are currently in

  There is something wrong with adding user to institution

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1785514/+subscriptions


Follow ups