Change 'Resources and Auth Scopes' label (#4325)

This commit is contained in:
Stan Silvert 2023-02-06 06:31:40 -05:00 committed by GitHub
parent 5c0436960c
commit 2f6601febf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View file

@ -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",

View file

@ -275,17 +275,17 @@ export const AuthorizationEvaluate = ({ client }: Props) => {
{!applyToResourceType ? (
<FormGroup
label={t("resourcesAndAuthScopes")}
id="resourcesAndAuthScopes"
label={t("resourcesAndScopes")}
id="resourcesAndScopes"
isRequired
labelIcon={
<HelpItem
helpText={t("clients-help:contextualAttributes")}
fieldLabelId={`resourcesAndAuthScopes`}
fieldLabelId={`resourcesAndScopes`}
/>
}
helperTextInvalid={t("common:required")}
fieldId="resourcesAndAuthScopes"
fieldId="resourcesAndScopes"
>
<KeyBasedAttributeInput
selectableValues={resources.map<AttributeType>((item) => ({

View file

@ -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
}