From 2f6601febfe16b151a1e96dfc7357e29ba248e74 Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Mon, 6 Feb 2023 06:31:40 -0500 Subject: [PATCH] Change 'Resources and Auth Scopes' label (#4325) --- apps/admin-ui/public/resources/en/clients.json | 3 ++- .../src/clients/authorization/AuthorizationEvaluate.tsx | 8 ++++---- apps/admin-ui/src/clients/authorization/auth-evaluate.css | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/admin-ui/public/resources/en/clients.json b/apps/admin-ui/public/resources/en/clients.json index a8aa45142c..21c35c982f 100644 --- a/apps/admin-ui/public/resources/en/clients.json +++ b/apps/admin-ui/public/resources/en/clients.json @@ -44,6 +44,7 @@ "searchByName": "Search by name", "setup": "Setup", "selectAUser": "Select a user", + "selectARole": "Select a role", "client": "Client", "evaluate": "Evaluate", "reevaluate": "Re-evaluate", @@ -65,7 +66,7 @@ "deniedScopes": "Denied scopes", "permission": "Permission", "lastEvaluation": "Last Evaluation", - "resourcesAndAuthScopes": "Resources and Authentication Scopes", + "resourcesAndScopes": "Resources and Scopes", "authScopes": "Authorization scopes", "authDetails": "Authorization details", "anyResource": "Any resource", diff --git a/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx b/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx index 15bdbc839d..477194c1f6 100644 --- a/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx +++ b/apps/admin-ui/src/clients/authorization/AuthorizationEvaluate.tsx @@ -275,17 +275,17 @@ export const AuthorizationEvaluate = ({ client }: Props) => { {!applyToResourceType ? ( } helperTextInvalid={t("common:required")} - fieldId="resourcesAndAuthScopes" + fieldId="resourcesAndScopes" > ((item) => ({ diff --git a/apps/admin-ui/src/clients/authorization/auth-evaluate.css b/apps/admin-ui/src/clients/authorization/auth-evaluate.css index 7d854472e8..9cb36744fe 100644 --- a/apps/admin-ui/src/clients/authorization/auth-evaluate.css +++ b/apps/admin-ui/src/clients/authorization/auth-evaluate.css @@ -28,7 +28,7 @@ button#reevaluate-btn { padding-top: 0; } -#resourcesAndAuthScopes > .pf-c-form__group-control > .kc-attributes__table > thead #key, -#resourcesAndAuthScopes > .pf-c-form__group-control > .kc-attributes__table > thead #value { +#resourcesAndScopes > .pf-c-form__group-control > .kc-attributes__table > thead #key, +#resourcesAndScopes > .pf-c-form__group-control > .kc-attributes__table > thead #value { display:none }