fix oauth permission check (#19829)

was regressed due to https://github.com/twentyhq/twenty/pull/19441
This commit is contained in:
neo773
2026-04-18 14:50:23 +05:30
committed by GitHub
parent 768469f2bd
commit 1d575f0496
5 changed files with 42 additions and 4 deletions
@@ -359,6 +359,7 @@ export class MigrateMessagingInfrastructureToMetadataCommand extends ActiveOrSus
await this.twentyORMGlobalManager.getRepository<WorkspaceMemberWorkspaceEntity>(
workspaceId,
'workspaceMember',
{ shouldBypassPermissionChecks: true },
);
const workspaceMembers = await workspaceMemberRepository.find();