diff --git a/src/core/utils.ts b/src/core/utils.ts index a481cd8..a78e66a 100644 --- a/src/core/utils.ts +++ b/src/core/utils.ts @@ -229,7 +229,7 @@ export async function checkAccessRequest(ctx: ACSClientContext, 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, @@ -443,4 +443,4 @@ export const updateScopedRoles = (meta, scopedRoles, urns: Map, } ); return scopedRoles; -}; \ No newline at end of file +};