BE: Allow admins to easily change roles from user record
In Self-Managed instances, when an admin navigates to the user record from within the Admin Area (Overview>Users) and selects the
Groups and Projects tab, there is a comprehensive breakout of user group and project affiliations with role information. Here you can also remove a user from a group or project. It would be a nice addition to add a control to change role here as well.
Have an easy way to change users group/project roles from the admin user screen without having to click into the group/project and finding the user and changing access.
- The admin user management should be similar to how the user group/project management.
- There should be a drop down menu of the role where it says the users role in a particular group/project.
- There could even be an "edit roles" button or something that has to be clicked first before seeing all the dropdown menus.
This would make the next step of remediation of user roles easier. If an admin has been notified that a user is in the wrong role, via an audit of user permissions, they then have to go in and alter the users roles on all their projects/groups.
Availability & Testing
Apart from the Unit tests, integration tests should be added to assert that these new dropdowns can indeed change the Role(s)