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 72a3a9d commit f7be702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f7be702

Please sign in to comment.