Skip to content

Commit

Permalink
fix: up roleScoping entity key name
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH authored Mar 14, 2024
1 parent 34ef036 commit e033e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function checkAccessRequest(ctx: ACSClientContext, resource: Resour

let result: DecisionResponse | PolicySetRQResponse;
try {
result = await accessRequest(subject, resource, action, ctx, { operation, useCache, roleScopingEntityURN: cfg?.get('authorization:urns:organization') });
result = await accessRequest(subject, resource, action, ctx, { operation, useCache, roleScopingEntityURN: cfg?.get('authorization:urns:roleScopingEntityURN') });
} catch (err) {
return {
decision: Response_Decision.DENY,
Expand Down

0 comments on commit e033e67

Please sign in to comment.