feat(workspaces): add workspaceRole to LimitedUser type (#3721)

* feat(workspaces): add workspaceRole to LimitedUser type

* fix(users): require workspace access for query
This commit is contained in:
Chuck Driesler
2025-01-09 14:11:18 +00:00
committed by GitHub
parent 58a6795b61
commit a784a72365
7 changed files with 63 additions and 1 deletions
@@ -115,7 +115,8 @@ export = !FF_WORKSPACES_MODULE_ENABLED
}
},
LimitedUser: {
workspaceDomainPolicyCompliant: async () => null
workspaceDomainPolicyCompliant: async () => null,
workspaceRole: async () => null
},
ServerInfo: {
workspaces: () => ({})