diff --git a/packages/nocodb/src/strategies/base-view.strategy/base-view.strategy.ts b/packages/nocodb/src/strategies/base-view.strategy/base-view.strategy.ts index 192e459d8c..c81c89b908 100644 --- a/packages/nocodb/src/strategies/base-view.strategy/base-view.strategy.ts +++ b/packages/nocodb/src/strategies/base-view.strategy/base-view.strategy.ts @@ -23,8 +23,8 @@ export class BaseViewStrategy extends PassportStrategy(Strategy, 'base-view') { } user = { - roles: extractRolesObj('viewer'), - base_roles: extractRolesObj('viewer'), + roles: extractRolesObj(sharedProject?.roles), + base_roles: extractRolesObj(sharedProject?.roles), }; }