Skip to content

Commit

Permalink
Make role mapping tab visible with view user permissions (keycloak#26386
Browse files Browse the repository at this point in the history
)

Co-authored-by: Salem Wafi <[email protected]>
Signed-off-by: Sebastian Schuster <[email protected]>
  • Loading branch information
sschu and SalemWafi authored Jan 22, 2024
1 parent 03b03f3 commit 8807562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/apps/admin-ui/src/user/EditUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export default function EditUser() {
</Tab>
<Tab
data-testid="role-mapping-tab"
isHidden={!user.access?.mapRoles}
isHidden={!user.access?.view}
title={<TabTitleText>{t("roleMapping")}</TabTitleText>}
{...roleMappingTab}
>
Expand Down

0 comments on commit 8807562

Please sign in to comment.