[Permissions] Add userWorkspaceId to JWT token (#9954)
This information will be used to fetch a user's role and check their permissions
This commit is contained in:
1
packages/twenty-server/@types/express.d.ts
vendored
1
packages/twenty-server/@types/express.d.ts
vendored
@ -10,5 +10,6 @@ declare module 'express-serve-static-core' {
|
||||
workspaceId?: string;
|
||||
workspaceMetadataVersion?: number;
|
||||
workspaceMemberId?: string;
|
||||
userWorkspaceId?: string;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user