← Back to team overview

mahara-contributors team mailing list archive

[Bug 1180194] Re: Changing the auth method requires info about remoteuser getting lost

 

Ok, have submitted a patch
https://reviews.mahara.org/#/c/2242/

To test:

Before applying patch:
1) Set up a mahara site with an institution that has more than one remote authentication type
2) Add a bunch of users to this institution and give them a remote authentication choice (can all be same or a mix different types) and make sure each has a remote username - this can be checked by going to Users -> get report for the users in question.
3) on the Users page select the ones you want to change and click 'Edit' this will take you to the /admin/users/bulk.php page
4) Select a new authentication from the 'Change authentication method' and click 'Submit'
5) Check users again by going to Users -> get report for the users in question - it should now show that they have lost their remote username

Now apply the patch and do steps 3 - 5 above (or start with new users)
and this time the remote username field should contain their remote
username as expected for the auth method they are on.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1180194

Title:
  Changing the auth method requires info about remoteuser getting lost

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When you change the auth method on /admin/users/bulk.php for users who
  have an external auth method, their remote username is deleted even if
  you change it to another external auth method. Thus, you'll need to
  redo the remote username from scratch.

  There should be a help button with info about what happens so admins
  aren't surprised when the remote username is suddenly missing.

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


References