Open NicoledeGreef opened 7 hours ago
In preliminary discussion when this was discovered, @danhgov noted that the Roles are visible in the Edit profile tab for Drupal admin user among many other things, whereas "Catalogue admin" users only see First name, Last name and Organization on the "Edit profile" tab. The "Roles" tab seems to have been set up specifically for "Catalogue admin" users so that they don't see all the extra stuff and perhaps there is an issue with that view?
If I use an Incognito browser and log in, it appears I still have the Data catalogue administrator role. I cleared my browser cache in my regular browser window and re-logged in and then I was able to see that I still had the Data catalogue administrator role.
I tried adjusting another user's permissions; they were a Catalogue user, I tried to make them an Catalogue editor. When I click "Save" unfortunately the checkboxes all uncheck. If I move around and come back to that screen the user still has no roles applied.
Describe the bug
In Test environment, when a Catalogue admin user adjusts permissions for another user, upon saving, the checkboxes all uncheck and Catalogue admin user loses their Catalogue admin role.
To reproduce
Steps to reproduce the behaviour:
Expected behaviour
Upon Save there should be a confirmation:
Status message The roles have been updated.
and the checkboxes applied prior to Save should persist. The user that made the Save should not lose their roles.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
One other strange thing I noticed in Test was that even though David's First Name and Last Name had been added some time ago, his account is still showing up as:
Fong, David FIN:EX
whereas in Dev it displays as expected: