Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable visibility of Role Mapping tab for users with view-users role #45093

@ReiRs2

Description

@ReiRs2

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

admin/ui

Describe the bug

Currently "Role Mapping" tab in the group section is only visible to users who have "manage-users".
The Admin API already allows viewing these mappings with the view-users role, so the UI should be updated to reflect this capability.
This was only a frontend change.

Version

26.4.7

Regression

  • The issue is a regression

Expected behavior

Users with the view-users role should be able to see and click on the "role mapping" tab but not update role-mappings.

Actual behavior

The "Role Mapping" tab is completely hidden for any user who does not have the manage-users role, even if they have view-users.

How to Reproduce?

  1. Create a new user
  2. Give the user query-groups and view-users role.
  3. Log in as the user in the admin console
  4. Go to groups, click on a group.
  5. Role tabbing is not visible.

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions