Skip to content

Commit 937f4ee

Browse files
committed
chore: more debug
1 parent b402933 commit 937f4ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/utils/auth.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ export async function getAclCtx(env, org, users, key, api) {
234234
}
235235

236236
if (!props?.permissions?.data) {
237+
console.log('no permissions data', pathLookup);
237238
return {
238239
pathLookup,
239240
actionSet: new Set(['read', 'write']),
@@ -314,6 +315,11 @@ export async function getAclCtx(env, org, users, key, api) {
314315
// actionTrace = pathActions.actionTrace;
315316
// }
316317

318+
console.log('getAclCtx', org, users);
319+
console.log('actionSet', actionSet);
320+
console.log('actionTrace', actionTrace);
321+
console.log('pathLookup', pathLookup);
322+
317323
return { pathLookup, actionSet, actionTrace };
318324
}
319325

0 commit comments

Comments
 (0)