AtlasOfLivingAustralia / fieldcapture

Natural resource management project data capture and reporting
http://fieldcapture.ala.org.au
4 stars 7 forks source link

Remove user from MERIT function is broken for some users #3316

Open chrisala opened 3 weeks ago

chrisala commented 3 weeks ago

After the call to userdetails to retrieve the userId for the supplied user email, there is a sanity check that userName == supplied email

What might be happening here is that the account was created with an older email and has subsequently been updated causing this sanity check to fail.

DaveDrynan commented 2 days ago

Tested 26/9/24. Used the MERIT-Editor@dcceew.gov.au test account. Changed the email address by removing the n-dash in the ALA authentication system. Logged back in as FC_ADMIN, and was able to use the new email address to remove the user from MERIT and didn't get any errors saying the user didn't exist. PASS