Allow view creds tab if view fine-grained permission (#22007)
Fixes #22002
This commit is contained in:
parent
d50fa65247
commit
12eb81580e
1 changed files with 3 additions and 1 deletions
|
@ -453,7 +453,9 @@ export default function ClientDetails() {
|
||||||
)}
|
)}
|
||||||
{!client.publicClient &&
|
{!client.publicClient &&
|
||||||
!isRealmClient(client) &&
|
!isRealmClient(client) &&
|
||||||
(hasViewClients || client.access?.configure) && (
|
(hasViewClients ||
|
||||||
|
client.access?.configure ||
|
||||||
|
client.access?.view) && (
|
||||||
<Tab
|
<Tab
|
||||||
id="credentials"
|
id="credentials"
|
||||||
title={<TabTitleText>{t("credentials")}</TabTitleText>}
|
title={<TabTitleText>{t("credentials")}</TabTitleText>}
|
||||||
|
|
Loading…
Reference in a new issue