diff --git a/src/utilts.ts b/src/utilts.ts index 907ed96..46efa92 100644 --- a/src/utilts.ts +++ b/src/utilts.ts @@ -124,7 +124,7 @@ export async function checkAccessRequest(ctx: GQLClientContext, resource: Resour let result: DecisionResponse | PolicySetRQResponse; try { - result = await accessRequest(subject, resource, action, ctx, { operation, roleScopingEntityURN: cfg?.get('authorization:urns:organization') }); + result = await accessRequest(subject, resource, action, ctx, { operation, roleScopingEntityURN: cfg?.get('authorization:urns:roleScopingEntityURN') }); } catch (err) { return { decision: Response_Decision.DENY,