diff --git a/src/clients/authorization/AuthorizationEvaluate.tsx b/src/clients/authorization/AuthorizationEvaluate.tsx index 52b37ad2e5..0054fca2dc 100644 --- a/src/clients/authorization/AuthorizationEvaluate.tsx +++ b/src/clients/authorization/AuthorizationEvaluate.tsx @@ -184,7 +184,9 @@ export const AuthorizationEvaluate = ({ client }: Props) => { roleIds: formValues.roleIds ?? [], clientId: formValues.client.id!, userId: formValues.user.id!, - resources: resources.filter((resource) => keys.includes(resource.name!)), + resources: formValues.resources.filter((resource) => + keys.includes(resource.name!) + ), entitlements: false, context: { attributes: Object.fromEntries(