From 044907c2def1ee47132aebfeb2cb78398ce728f1 Mon Sep 17 00:00:00 2001 From: Alex Vasilev Date: Wed, 26 Nov 2025 09:01:20 -0800 Subject: [PATCH] fix(server-core): pass contextToRoles option --- packages/cubejs-server-core/src/core/server.ts | 2 ++ 1 file changed, 2 insertions(+) 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,