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 57932fc commit 75095e1Copy full SHA for 75095e1
packages/cubejs-api-gateway/src/gateway.ts
@@ -385,6 +385,7 @@ class ApiGateway {
385
res.setHeader('Transfer-Encoding', 'chunked');
386
387
try {
388
+ await this.assertApiScope('data', req.context?.securityContext);
389
await this.sqlServer.execSql(req.body.query, res, req.context?.securityContext);
390
} catch (e: any) {
391
this.handleError({
0 commit comments