Allow view creds tab if view fine-grained permission (#22007)

Fixes #22002
This commit is contained in:
Stan Silvert 2023-07-27 12:45:31 -04:00 committed by GitHub
parent d50fa65247
commit 12eb81580e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,7 +453,9 @@ export default function ClientDetails() {
)}
{!client.publicClient &&
!isRealmClient(client) &&
(hasViewClients || client.access?.configure) && (
(hasViewClients ||
client.access?.configure ||
client.access?.view) && (
<Tab
id="credentials"
title={<TabTitleText>{t("credentials")}</TabTitleText>}