Skip to content

Commit 4b7ba4e

Browse files
authored
fix(server-core): pass contextToRoles option (#10182)
1 parent 9ba6e77 commit 4b7ba4e

File tree

1 file changed

+2
-0
lines changed
  • packages/cubejs-server-core/src/core

1 file changed

+2
-0
lines changed

packages/cubejs-server-core/src/core/server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ export class CubejsServerCore {
537537
externalDialectClass: this.options.externalDialectFactory && this.options.externalDialectFactory(context),
538538
schemaVersion: currentSchemaVersion,
539539
contextToRoles: this.options.contextToRoles,
540+
contextToGroups: this.options.contextToGroups,
540541
preAggregationsSchema: await this.preAggregationsSchema(context),
541542
context,
542543
allowJsDuplicatePropsInSchema: this.options.allowJsDuplicatePropsInSchema,
@@ -700,6 +701,7 @@ export class CubejsServerCore {
700701
{
701702
schemaVersion: options.schemaVersion || this.options.schemaVersion,
702703
contextToRoles: this.options.contextToRoles,
704+
contextToGroups: this.options.contextToGroups,
703705
devServer: this.options.devServer,
704706
logger: this.logger,
705707
externalDbType: options.externalDbType,

0 commit comments

Comments
 (0)