Auth evaluate fix (#2274)
* fix incorrect empty state * fix incorrect empty state
This commit is contained in:
parent
f71cbf171a
commit
8d86d380ac
1 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue