diff --git a/packages/cubejs-server-core/src/core/server.ts b/packages/cubejs-server-core/src/core/server.ts index 47e08a640f416..da38b6cbcbf1e 100644 --- a/packages/cubejs-server-core/src/core/server.ts +++ b/packages/cubejs-server-core/src/core/server.ts @@ -537,6 +537,7 @@ export class CubejsServerCore { externalDialectClass: this.options.externalDialectFactory && this.options.externalDialectFactory(context), schemaVersion: currentSchemaVersion, contextToRoles: this.options.contextToRoles, + contextToGroups: this.options.contextToGroups, preAggregationsSchema: await this.preAggregationsSchema(context), context, allowJsDuplicatePropsInSchema: this.options.allowJsDuplicatePropsInSchema, @@ -700,6 +701,7 @@ export class CubejsServerCore { { schemaVersion: options.schemaVersion || this.options.schemaVersion, contextToRoles: this.options.contextToRoles, + contextToGroups: this.options.contextToGroups, devServer: this.options.devServer, logger: this.logger, externalDbType: options.externalDbType,