2022-12-07 14:23:12 +00:00
|
|
|
import type PolicyRepresentation from "@keycloak/keycloak-admin-client/lib/defs/policyRepresentation";
|
2023-01-18 10:12:32 +00:00
|
|
|
import { DecisionStrategy } from "@keycloak/keycloak-admin-client/lib/defs/policyRepresentation";
|
2022-01-12 16:01:54 +00:00
|
|
|
import {
|
|
|
|
ActionGroup,
|
|
|
|
AlertVariant,
|
|
|
|
Button,
|
|
|
|
ButtonVariant,
|
|
|
|
DropdownItem,
|
|
|
|
FormGroup,
|
|
|
|
PageSection,
|
|
|
|
Radio,
|
2022-02-10 08:23:23 +00:00
|
|
|
SelectVariant,
|
2022-01-12 16:01:54 +00:00
|
|
|
Switch,
|
|
|
|
} from "@patternfly/react-core";
|
2022-12-07 14:23:12 +00:00
|
|
|
import { useState } from "react";
|
2023-01-26 09:31:07 +00:00
|
|
|
import { Controller, FormProvider, useForm, useWatch } from "react-hook-form";
|
2022-12-07 14:23:12 +00:00
|
|
|
import { useTranslation } from "react-i18next";
|
2023-01-18 12:09:49 +00:00
|
|
|
import { Link, useNavigate } from "react-router-dom";
|
2023-05-03 13:51:02 +00:00
|
|
|
import { HelpItem } from "ui-shared";
|
2022-01-12 16:01:54 +00:00
|
|
|
|
2023-05-03 13:51:02 +00:00
|
|
|
import { adminClient } from "../../admin-client";
|
2022-12-07 14:23:12 +00:00
|
|
|
import { useAlerts } from "../../components/alert/Alerts";
|
|
|
|
import { useConfirmDialog } from "../../components/confirm-dialog/ConfirmDialog";
|
2023-05-24 12:11:06 +00:00
|
|
|
import { FormAccess } from "../../components/form/FormAccess";
|
2022-12-07 14:23:12 +00:00
|
|
|
import { KeycloakSpinner } from "../../components/keycloak-spinner/KeycloakSpinner";
|
|
|
|
import { KeycloakTextArea } from "../../components/keycloak-text-area/KeycloakTextArea";
|
|
|
|
import { KeycloakTextInput } from "../../components/keycloak-text-input/KeycloakTextInput";
|
|
|
|
import { ViewHeader } from "../../components/view-header/ViewHeader";
|
2023-05-03 15:40:27 +00:00
|
|
|
import { useFetch } from "../../utils/useFetch";
|
2022-12-07 14:23:12 +00:00
|
|
|
import { toUpperCase } from "../../util";
|
|
|
|
import { useParams } from "../../utils/useParams";
|
|
|
|
import { toAuthorizationTab } from "../routes/AuthenticationTab";
|
2022-01-12 16:01:54 +00:00
|
|
|
import type { NewPermissionParams } from "../routes/NewPermission";
|
|
|
|
import {
|
|
|
|
PermissionDetailsParams,
|
|
|
|
toPermissionDetails,
|
|
|
|
} from "../routes/PermissionDetails";
|
|
|
|
import { ResourcesPolicySelect } from "./ResourcesPolicySelect";
|
2022-02-10 08:23:23 +00:00
|
|
|
import { ScopeSelect } from "./ScopeSelect";
|
2022-01-12 16:01:54 +00:00
|
|
|
|
2023-01-18 10:12:32 +00:00
|
|
|
type FormFields = PolicyRepresentation & {
|
|
|
|
resourceType: string;
|
|
|
|
};
|
2022-01-12 16:01:54 +00:00
|
|
|
|
|
|
|
export default function PermissionDetails() {
|
2023-09-08 13:17:17 +00:00
|
|
|
const { t } = useTranslation();
|
2022-01-12 16:01:54 +00:00
|
|
|
|
2023-01-18 10:12:32 +00:00
|
|
|
const form = useForm<FormFields>({
|
2022-01-12 16:01:54 +00:00
|
|
|
mode: "onChange",
|
|
|
|
});
|
2023-01-18 10:12:32 +00:00
|
|
|
const {
|
|
|
|
register,
|
|
|
|
control,
|
|
|
|
reset,
|
|
|
|
formState: { errors },
|
|
|
|
handleSubmit,
|
|
|
|
} = form;
|
2022-01-12 16:01:54 +00:00
|
|
|
|
2022-08-16 13:09:14 +00:00
|
|
|
const navigate = useNavigate();
|
2022-03-14 10:17:16 +00:00
|
|
|
const { id, realm, permissionType, permissionId, selectedId } = useParams<
|
2022-01-12 16:01:54 +00:00
|
|
|
NewPermissionParams & PermissionDetailsParams
|
|
|
|
>();
|
|
|
|
|
|
|
|
const { addAlert, addError } = useAlerts();
|
|
|
|
const [permission, setPermission] = useState<PolicyRepresentation>();
|
|
|
|
const [applyToResourceTypeFlag, setApplyToResourceTypeFlag] = useState(false);
|
|
|
|
|
|
|
|
useFetch(
|
|
|
|
async () => {
|
2022-02-10 08:23:23 +00:00
|
|
|
if (!permissionId) {
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
const [permission, resources, policies, scopes] = await Promise.all([
|
|
|
|
adminClient.clients.findOnePermission({
|
|
|
|
id,
|
|
|
|
type: permissionType,
|
|
|
|
permissionId,
|
|
|
|
}),
|
|
|
|
adminClient.clients.getAssociatedResources({
|
|
|
|
id,
|
|
|
|
permissionId,
|
|
|
|
}),
|
|
|
|
adminClient.clients.getAssociatedPolicies({
|
|
|
|
id,
|
|
|
|
permissionId,
|
|
|
|
}),
|
|
|
|
adminClient.clients.getAssociatedScopes({
|
|
|
|
id,
|
|
|
|
permissionId,
|
|
|
|
}),
|
|
|
|
]);
|
2022-01-12 16:01:54 +00:00
|
|
|
|
2022-02-10 08:23:23 +00:00
|
|
|
if (!permission) {
|
2023-09-14 09:01:15 +00:00
|
|
|
throw new Error(t("notFound"));
|
2022-01-12 16:01:54 +00:00
|
|
|
}
|
2022-02-10 08:23:23 +00:00
|
|
|
|
|
|
|
return {
|
|
|
|
permission,
|
|
|
|
resources: resources.map((r) => r._id),
|
|
|
|
policies: policies.map((p) => p.id!),
|
|
|
|
scopes: scopes.map((s) => s.id!),
|
|
|
|
};
|
2022-01-12 16:01:54 +00:00
|
|
|
},
|
2022-02-10 08:23:23 +00:00
|
|
|
({ permission, resources, policies, scopes }) => {
|
|
|
|
reset({ ...permission, resources, policies, scopes });
|
2022-01-12 16:01:54 +00:00
|
|
|
if (permission && "resourceType" in permission) {
|
|
|
|
setApplyToResourceTypeFlag(
|
2023-07-11 14:03:21 +00:00
|
|
|
!!(permission as { resourceType: string }).resourceType,
|
2022-01-12 16:01:54 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
setPermission({ ...permission, resources, policies });
|
|
|
|
},
|
2023-07-11 14:03:21 +00:00
|
|
|
[],
|
2022-01-12 16:01:54 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
const save = async (permission: PolicyRepresentation) => {
|
|
|
|
try {
|
|
|
|
if (permissionId) {
|
|
|
|
await adminClient.clients.updatePermission(
|
|
|
|
{ id, type: permissionType, permissionId },
|
2023-07-11 14:03:21 +00:00
|
|
|
permission,
|
2022-01-12 16:01:54 +00:00
|
|
|
);
|
|
|
|
} else {
|
|
|
|
const result = await adminClient.clients.createPermission(
|
|
|
|
{ id, type: permissionType },
|
2023-07-11 14:03:21 +00:00
|
|
|
permission,
|
2022-01-12 16:01:54 +00:00
|
|
|
);
|
2022-08-16 13:09:14 +00:00
|
|
|
navigate(
|
2022-01-12 16:01:54 +00:00
|
|
|
toPermissionDetails({
|
|
|
|
realm,
|
|
|
|
id,
|
|
|
|
permissionType,
|
|
|
|
permissionId: result.id!,
|
2023-07-11 14:03:21 +00:00
|
|
|
}),
|
2022-01-12 16:01:54 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
addAlert(
|
|
|
|
t((permissionId ? "update" : "create") + "PermissionSuccess"),
|
2023-07-11 14:03:21 +00:00
|
|
|
AlertVariant.success,
|
2022-01-12 16:01:54 +00:00
|
|
|
);
|
|
|
|
} catch (error) {
|
2023-09-13 14:05:17 +00:00
|
|
|
addError("permissionSaveError", error);
|
2022-01-12 16:01:54 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
const [toggleDeleteDialog, DeleteConfirm] = useConfirmDialog({
|
2023-09-13 14:05:17 +00:00
|
|
|
titleKey: "deletePermission",
|
2022-01-12 16:01:54 +00:00
|
|
|
messageKey: t("deletePermissionConfirm", {
|
|
|
|
permission: permission?.name,
|
|
|
|
}),
|
|
|
|
continueButtonVariant: ButtonVariant.danger,
|
2023-09-13 14:05:17 +00:00
|
|
|
continueButtonLabel: "confirm",
|
2022-01-12 16:01:54 +00:00
|
|
|
onConfirm: async () => {
|
|
|
|
try {
|
|
|
|
await adminClient.clients.delPermission({
|
|
|
|
id,
|
|
|
|
type: permissionType,
|
|
|
|
permissionId: permissionId,
|
|
|
|
});
|
|
|
|
addAlert(t("permissionDeletedSuccess"), AlertVariant.success);
|
2022-08-16 13:09:14 +00:00
|
|
|
navigate(
|
2023-07-11 14:03:21 +00:00
|
|
|
toAuthorizationTab({ realm, clientId: id, tab: "permissions" }),
|
2022-01-31 07:20:35 +00:00
|
|
|
);
|
2022-01-12 16:01:54 +00:00
|
|
|
} catch (error) {
|
2023-09-13 14:05:17 +00:00
|
|
|
addError("permissionDeletedError", error);
|
2022-01-12 16:01:54 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
2023-01-18 10:12:32 +00:00
|
|
|
const resourcesIds = useWatch({
|
2022-02-10 08:23:23 +00:00
|
|
|
control,
|
|
|
|
name: "resources",
|
|
|
|
defaultValue: [],
|
|
|
|
});
|
|
|
|
|
2022-04-08 08:56:20 +00:00
|
|
|
if (!permission) {
|
|
|
|
return <KeycloakSpinner />;
|
|
|
|
}
|
|
|
|
|
2022-01-12 16:01:54 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<DeleteConfirm />
|
|
|
|
<ViewHeader
|
2022-03-09 16:44:43 +00:00
|
|
|
titleKey={
|
|
|
|
permissionId
|
2022-04-08 08:56:20 +00:00
|
|
|
? permission.name!
|
2023-11-02 16:03:47 +00:00
|
|
|
: `create${toUpperCase(permissionType)}BasedPermission`
|
2022-03-09 16:44:43 +00:00
|
|
|
}
|
2022-01-12 16:01:54 +00:00
|
|
|
dropdownItems={
|
|
|
|
permissionId
|
|
|
|
? [
|
|
|
|
<DropdownItem
|
|
|
|
key="delete"
|
|
|
|
data-testid="delete-resource"
|
|
|
|
onClick={() => toggleDeleteDialog()}
|
|
|
|
>
|
2023-09-14 09:01:15 +00:00
|
|
|
{t("delete")}
|
2022-01-12 16:01:54 +00:00
|
|
|
</DropdownItem>,
|
|
|
|
]
|
|
|
|
: undefined
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
<PageSection variant="light">
|
|
|
|
<FormAccess
|
|
|
|
isHorizontal
|
2022-05-30 09:23:24 +00:00
|
|
|
role="view-clients"
|
2022-01-12 16:01:54 +00:00
|
|
|
onSubmit={handleSubmit(save)}
|
|
|
|
>
|
|
|
|
<FormProvider {...form}>
|
|
|
|
<FormGroup
|
2023-09-14 09:01:15 +00:00
|
|
|
label={t("name")}
|
2022-02-21 18:13:25 +00:00
|
|
|
isRequired
|
2023-09-14 09:01:15 +00:00
|
|
|
helperTextInvalid={t("required")}
|
2022-03-22 11:13:43 +00:00
|
|
|
validated={errors.name ? "error" : "default"}
|
2022-01-12 16:01:54 +00:00
|
|
|
fieldId="name"
|
|
|
|
labelIcon={
|
2023-09-13 14:05:17 +00:00
|
|
|
<HelpItem helpText={t("permissionName")} fieldLabelId="name" />
|
2022-01-12 16:01:54 +00:00
|
|
|
}
|
|
|
|
>
|
2022-04-21 15:03:26 +00:00
|
|
|
<KeycloakTextInput
|
2022-02-21 18:13:25 +00:00
|
|
|
id="name"
|
2022-03-22 11:13:43 +00:00
|
|
|
validated={errors.name ? "error" : "default"}
|
2023-01-18 10:12:32 +00:00
|
|
|
{...register("name", { required: true })}
|
2022-02-21 18:13:25 +00:00
|
|
|
/>
|
2022-01-12 16:01:54 +00:00
|
|
|
</FormGroup>
|
|
|
|
<FormGroup
|
2023-09-14 09:01:15 +00:00
|
|
|
label={t("description")}
|
2022-01-12 16:01:54 +00:00
|
|
|
fieldId="description"
|
|
|
|
labelIcon={
|
|
|
|
<HelpItem
|
2023-09-13 14:05:17 +00:00
|
|
|
helpText={t("permissionDescription")}
|
2022-01-12 16:01:54 +00:00
|
|
|
fieldLabelId="description"
|
|
|
|
/>
|
|
|
|
}
|
|
|
|
validated={errors.description ? "error" : "default"}
|
|
|
|
helperTextInvalid={errors.description?.message}
|
|
|
|
>
|
2022-05-11 09:46:14 +00:00
|
|
|
<KeycloakTextArea
|
2022-01-12 16:01:54 +00:00
|
|
|
id="description"
|
2023-01-18 10:12:32 +00:00
|
|
|
validated={errors.description ? "error" : "default"}
|
|
|
|
{...register("description", {
|
2022-01-12 16:01:54 +00:00
|
|
|
maxLength: {
|
|
|
|
value: 255,
|
2023-09-14 09:01:15 +00:00
|
|
|
message: t("maxLength", { length: 255 }),
|
2022-01-12 16:01:54 +00:00
|
|
|
},
|
|
|
|
})}
|
|
|
|
/>
|
|
|
|
</FormGroup>
|
2022-05-09 10:41:43 +00:00
|
|
|
<FormGroup
|
|
|
|
label={t("applyToResourceTypeFlag")}
|
|
|
|
fieldId="applyToResourceTypeFlag"
|
|
|
|
labelIcon={
|
|
|
|
<HelpItem
|
2023-09-08 13:17:17 +00:00
|
|
|
helpText={t("applyToResourceTypeFlagHelp")}
|
2023-09-13 14:05:17 +00:00
|
|
|
fieldLabelId="applyToResourceTypeFlag"
|
2022-01-12 16:01:54 +00:00
|
|
|
/>
|
2022-05-09 10:41:43 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
<Switch
|
|
|
|
id="applyToResourceTypeFlag"
|
|
|
|
name="applyToResourceTypeFlag"
|
2023-09-14 09:01:15 +00:00
|
|
|
label={t("on")}
|
|
|
|
labelOff={t("off")}
|
2022-05-09 10:41:43 +00:00
|
|
|
isChecked={applyToResourceTypeFlag}
|
|
|
|
onChange={setApplyToResourceTypeFlag}
|
2022-08-30 13:07:51 +00:00
|
|
|
aria-label={t("applyToResourceTypeFlag")}
|
2022-05-09 10:41:43 +00:00
|
|
|
/>
|
|
|
|
</FormGroup>
|
2022-01-12 16:01:54 +00:00
|
|
|
{applyToResourceTypeFlag ? (
|
|
|
|
<FormGroup
|
|
|
|
label={t("resourceType")}
|
2023-07-11 12:04:32 +00:00
|
|
|
fieldId="resourceType"
|
2022-01-12 16:01:54 +00:00
|
|
|
labelIcon={
|
|
|
|
<HelpItem
|
2023-09-08 13:17:17 +00:00
|
|
|
helpText={t("resourceTypeHelp")}
|
2022-01-12 16:01:54 +00:00
|
|
|
fieldLabelId="resourceType"
|
|
|
|
/>
|
|
|
|
}
|
2022-05-09 10:41:43 +00:00
|
|
|
isRequired={permissionType === "scope"}
|
2022-01-12 16:01:54 +00:00
|
|
|
>
|
2022-04-21 15:03:26 +00:00
|
|
|
<KeycloakTextInput
|
2022-01-12 16:01:54 +00:00
|
|
|
id="resourceType"
|
2023-01-18 10:12:32 +00:00
|
|
|
{...register("resourceType", {
|
|
|
|
required: permissionType === "scope",
|
|
|
|
})}
|
2022-01-12 16:01:54 +00:00
|
|
|
/>
|
|
|
|
</FormGroup>
|
|
|
|
) : (
|
|
|
|
<FormGroup
|
|
|
|
label={t("resources")}
|
|
|
|
fieldId="resources"
|
|
|
|
labelIcon={
|
|
|
|
<HelpItem
|
2023-09-08 13:17:17 +00:00
|
|
|
helpText={t("permissionResourcesHelp")}
|
2023-09-13 14:05:17 +00:00
|
|
|
fieldLabelId="resources"
|
2022-01-12 16:01:54 +00:00
|
|
|
/>
|
|
|
|
}
|
2023-09-14 09:01:15 +00:00
|
|
|
helperTextInvalid={t("required")}
|
2022-03-22 11:13:43 +00:00
|
|
|
validated={errors.resources ? "error" : "default"}
|
2022-05-09 10:41:43 +00:00
|
|
|
isRequired={permissionType !== "scope"}
|
2022-01-12 16:01:54 +00:00
|
|
|
>
|
|
|
|
<ResourcesPolicySelect
|
|
|
|
name="resources"
|
|
|
|
clientId={id}
|
2022-04-27 15:30:13 +00:00
|
|
|
permissionId={permissionId}
|
2022-03-14 10:17:16 +00:00
|
|
|
preSelected={
|
|
|
|
permissionType === "scope" ? undefined : selectedId
|
|
|
|
}
|
2022-02-10 08:23:23 +00:00
|
|
|
variant={
|
|
|
|
permissionType === "scope"
|
|
|
|
? SelectVariant.typeahead
|
|
|
|
: SelectVariant.typeaheadMulti
|
|
|
|
}
|
2022-05-09 10:41:43 +00:00
|
|
|
isRequired={permissionType !== "scope"}
|
2022-01-12 16:01:54 +00:00
|
|
|
/>
|
|
|
|
</FormGroup>
|
|
|
|
)}
|
2022-02-10 08:23:23 +00:00
|
|
|
{permissionType === "scope" && (
|
|
|
|
<FormGroup
|
|
|
|
label={t("authorizationScopes")}
|
|
|
|
fieldId="scopes"
|
|
|
|
labelIcon={
|
|
|
|
<HelpItem
|
2023-09-20 08:52:43 +00:00
|
|
|
helpText={t("permissionScopesHelp")}
|
2023-09-13 14:05:17 +00:00
|
|
|
fieldLabelId="scopesSelect"
|
2022-02-10 08:23:23 +00:00
|
|
|
/>
|
|
|
|
}
|
2023-09-14 09:01:15 +00:00
|
|
|
helperTextInvalid={t("required")}
|
2022-02-10 08:23:23 +00:00
|
|
|
validated={errors.scopes ? "error" : "default"}
|
|
|
|
isRequired
|
|
|
|
>
|
2022-03-14 10:17:16 +00:00
|
|
|
<ScopeSelect
|
|
|
|
clientId={id}
|
|
|
|
resourceId={resourcesIds?.[0]}
|
|
|
|
preSelected={selectedId}
|
|
|
|
/>
|
2022-02-10 08:23:23 +00:00
|
|
|
</FormGroup>
|
|
|
|
)}
|
2022-01-12 16:01:54 +00:00
|
|
|
<FormGroup
|
|
|
|
label={t("policies")}
|
|
|
|
fieldId="policies"
|
|
|
|
labelIcon={
|
|
|
|
<HelpItem
|
2023-09-20 08:52:43 +00:00
|
|
|
helpText={t("permissionPoliciesHelp")}
|
2023-09-13 14:05:17 +00:00
|
|
|
fieldLabelId="policies"
|
2022-01-12 16:01:54 +00:00
|
|
|
/>
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<ResourcesPolicySelect
|
|
|
|
name="policies"
|
|
|
|
clientId={id}
|
2022-04-27 15:30:13 +00:00
|
|
|
permissionId={permissionId}
|
2022-01-12 16:01:54 +00:00
|
|
|
/>
|
|
|
|
</FormGroup>
|
|
|
|
<FormGroup
|
|
|
|
label={t("decisionStrategy")}
|
|
|
|
labelIcon={
|
|
|
|
<HelpItem
|
2023-09-20 08:52:43 +00:00
|
|
|
helpText={t("permissionDecisionStrategyHelp")}
|
2023-09-13 14:05:17 +00:00
|
|
|
fieldLabelId="decisionStrategy"
|
2022-01-12 16:01:54 +00:00
|
|
|
/>
|
|
|
|
}
|
|
|
|
fieldId="policyEnforcementMode"
|
|
|
|
hasNoPaddingTop
|
|
|
|
>
|
|
|
|
<Controller
|
|
|
|
name="decisionStrategy"
|
|
|
|
data-testid="decisionStrategy"
|
2023-01-18 10:12:32 +00:00
|
|
|
defaultValue={DecisionStrategy.UNANIMOUS}
|
2022-01-12 16:01:54 +00:00
|
|
|
control={control}
|
2023-01-18 10:12:32 +00:00
|
|
|
render={({ field }) => (
|
2022-01-12 16:01:54 +00:00
|
|
|
<>
|
2023-01-18 10:12:32 +00:00
|
|
|
{Object.values(DecisionStrategy).map((strategy) => (
|
2022-01-12 16:01:54 +00:00
|
|
|
<Radio
|
|
|
|
id={strategy}
|
|
|
|
key={strategy}
|
|
|
|
data-testid={strategy}
|
2023-01-18 10:12:32 +00:00
|
|
|
isChecked={field.value === strategy}
|
2022-01-12 16:01:54 +00:00
|
|
|
name="decisionStrategies"
|
2023-01-18 10:12:32 +00:00
|
|
|
onChange={() => field.onChange(strategy)}
|
2022-01-12 16:01:54 +00:00
|
|
|
label={t(`decisionStrategies.${strategy}`)}
|
|
|
|
className="pf-u-mb-md"
|
|
|
|
/>
|
|
|
|
))}
|
|
|
|
</>
|
|
|
|
)}
|
|
|
|
/>
|
|
|
|
</FormGroup>
|
|
|
|
<ActionGroup>
|
|
|
|
<div className="pf-u-mt-md">
|
|
|
|
<Button
|
|
|
|
variant={ButtonVariant.primary}
|
|
|
|
type="submit"
|
|
|
|
data-testid="save"
|
|
|
|
>
|
2023-09-14 09:01:15 +00:00
|
|
|
{t("save")}
|
2022-01-12 16:01:54 +00:00
|
|
|
</Button>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
variant="link"
|
|
|
|
data-testid="cancel"
|
|
|
|
component={(props) => (
|
|
|
|
<Link
|
|
|
|
{...props}
|
2022-01-31 07:20:35 +00:00
|
|
|
to={toAuthorizationTab({
|
2022-01-12 16:01:54 +00:00
|
|
|
realm,
|
|
|
|
clientId: id,
|
2022-01-31 07:20:35 +00:00
|
|
|
tab: "permissions",
|
2022-01-12 16:01:54 +00:00
|
|
|
})}
|
|
|
|
></Link>
|
|
|
|
)}
|
|
|
|
>
|
2023-09-14 09:01:15 +00:00
|
|
|
{t("cancel")}
|
2022-01-12 16:01:54 +00:00
|
|
|
</Button>
|
|
|
|
</div>
|
|
|
|
</ActionGroup>
|
|
|
|
</FormProvider>
|
|
|
|
</FormAccess>
|
|
|
|
</PageSection>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|