← Back to team overview

mahara-contributors team mailing list archive

[Bug 1835688] Re: Authentication method not showing properly

 

Hi Kristina,

Im having the same issue. Im on Mahara version 19.04.1 (2019031910)

Im creating a user via API in the "No institution" with authentication
method "No institution: saml".

admin/users/search.php shows correctly "No institution" and "saml".

As soon as I add this user to another institution (for example
"inst123"), the authentication method in /admin/users/edit.php changes
to "inst123: internal".

/admin/users/search.php then shows "inst123: internal" too.

If i then try to change the authentication method back to "No
institution: saml" via /admin/users/edit.php, it doesnt work. It just
saves as "inst123: internal" again.

The only thing to make this work is to first remove the user from
institution "inst123" and then set the authentication method to "No
institution: saml". Then it saves correctly.

I dont think this behaviour is correct! I'd like the authentication
method to stay at "No institution: saml". This worked on older versions.


** Changed in: mahara
       Status: Incomplete => 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/1835688

Title:
  Authentication method not showing properly

Status in Mahara:
  Confirmed

Bug description:
  Version: Mahara 19.04
  Browser: chrome

  Steps to Replicate: (You will need two or more institutes in Mahara)
  1. Create a user on Moodle to access the site via the xml/rpc method.
  2. Login as that user - the account is created as expected.
  3. Add that user to a different institute in Mahara. (The user will be using the same auth, but will be added to a new institute)

  As the admin of Mahara.
  3. Find the user [maharawebsite]/admin/users/search.php
  4. Enter the user's name and it will list as expected -with correct authentication details

  5. Edit the user (Issue 1 - The form is not showing the correct details)
  Authentication method on the form is displayed as "internal" and a password is requested
  Change the authentication method to be the institute listed.

  6 DONT click save - the users details will have changed and the
  institute will have a new internal auth method.

  7. Go back and edit the user - and change the authentication back
  7: click save

  7: Search for the user again [maharawebsite]/admin/users/search.php -
  that user is still listed as "internal" with incorrect auth details.

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


References