Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-4116

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

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] 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

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Core (shared)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: