Skip to content

Commit f7be702

Browse files
authored
fix: up roleScoping entity key name
1 parent 72a3a9d commit f7be702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export async function checkAccessRequest(ctx: GQLClientContext, resource: Resour
124124

125125
let result: DecisionResponse | PolicySetRQResponse;
126126
try {
127-
result = await accessRequest(subject, resource, action, ctx, { operation, roleScopingEntityURN: cfg?.get('authorization:urns:organization') });
127+
result = await accessRequest(subject, resource, action, ctx, { operation, roleScopingEntityURN: cfg?.get('authorization:urns:roleScopingEntityURN') });
128128
} catch (err) {
129129
return {
130130
decision: Response_Decision.DENY,

0 commit comments

Comments
 (0)