We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff56d4 commit b2da950Copy full SHA for b2da950
packages/cubejs-api-gateway/src/gateway.ts
@@ -2009,7 +2009,7 @@ class ApiGateway {
2009
const scopes =
2010
await this.contextToApiScopesFn(
2011
securityContext || {},
2012
- await this.contextToApiScopesDefFn(),
+ getEnv('defaultApiScope') || await this.contextToApiScopesDefFn(),
2013
);
2014
const permited = scopes.indexOf(scope) >= 0;
2015
if (!permited) {
0 commit comments