View role details and assigned users
### Status
**Released:** The role details have been released.
**Not scheduled at the moment**: Displaying assigned users.
### Release notes
### Problem to solve
Customers don't have the ability to centrally view which roles are assigned to users. This impedes on an organizations' ability to achieve Principle of Least Privilege, for example, to see how many Owners are assigned across the multiple groups and projects in an organization.
Questions asked:
- How many Owners and Maintainers are assigned in my GitLab environment?
- How many Guest are assigned? Important as these may be contractors or external users.
- Which users are assigned these roles?
### Proposal
An admin or owner can view the role details and assigned users.
Role details:
* Custom role: ID, role type, description, base role, and permissions.
* Default role: Base level access, role type, description, and link to permission docs.
Assigned users:
* User(s)
* Access to group or project.
* Membership type: Direct or inherited.
* Access granted
* Last activity date
### Intended users
* Group owners and administrators
### Design
[Role detail](https://www.figma.com/design/JOlUahQTlCiZ9erqsnKiud/View-users-and-roles?node-id=530-37648&t=4bRze1XGJhWl3bUS-1)
Custom role detail
{width="1440" height="1153"}
Default role detail
{width="1440" height="1153"}
[User details](https://www.figma.com/design/JOlUahQTlCiZ9erqsnKiud/View-users-and-roles?node-id=550-22812&t=xXdxAvfmBJLkfWXy-1)

Expanded

epic