Set user admin role --> All app access roles are set to admin
Set user user role --> All app access roles are still set to admin
This is concerning because when you don't pay much attention, and only focus on taking away user admin role for a user, the user would then still have admin roles for all apps.
So this means by setting the user admin role the app access roles are persisted to the db. I thought they weren't and the backend would just grant all admin users admin access on the fly, no matter what app access was configured. I'd like to hear a second opinion on the desired workflow here. @arie ?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
Yes I do agree: I would prefer if switching to admin role (or back to regular user) would not make any changes to app access items in the database. In my opinion that would require another UI change though, where the whole list of apps and access permissions is hidden in case of an admin user, and only the new banner with the message is shown -- otherwise this would be too confusing for the user.
I thought they weren't and the backend would just grant all admin users admin access on the fly, no matter what app access was configured.
If I understand correctly, that's still what happens in the backend code. However it additionally sets all app permissions to "Admin", I guess because then the interface actually reflects the "virtual"/"bypass" admin access.
Yes I agree with all said. That's why I said to hide all apps permission when the user is admin so that it doesn't confuse the user. But it comes to some UX practices
We discussed this at length and then concluded that this issue as a "what if?" scenario is not super important for us to focus on right now. We'll await user feedback to see what seems logical and what doesn't.
I think it's fine now that it's already implemented. I think !48 (merged) makes it a bit more intuitive than the situation described in this issue and we'll keep it at that for now.