Files
speckle-server/.zed/debug.json
T
Gergő Jedlicska 4a2d85d68c feat(server): web 3485 prevent accounts from creating new workspaces (#4913)
* feat(shared): rename user workspaces loader

* feat(gatekeeper): intoduce the enterprise plan

* chore(server): remove more "magic strings"

* refactor(shared): extract user is workspace admin to an auth fragment

* feat(shared): add can createWorkspacePolicy

* feat(workspaces): WIP block workspace creation

* feat(server): add can create workspace checks

* feat(workspaces): enforce canCreateWorkspace policy on the workspace
creation mutation

* feat(shared): allow workspace admins and guests to create workspaces
even if they are part of an exclusive workspace

* test(shared): use test fake properly

* fix(server): eligble workspace typing fixes

* test(shared): fix more workspace fakes

* fix(workspacesCore): add missing loader

* fix(shared): use proper exhaustive switch cases, they stop bugs from
happening

* feat(shared): introduce workspacePlanHasAccessToFeature function with tests

* chore(workspaces): fix more PR comments

* fix(workspaces): naming

* fix(workspaces): some more
2025-06-18 08:58:26 +01:00

45 lines
1.1 KiB
JSON

[
{
"adapter": "JavaScript",
"label": "yarn (JavaScript)",
"request": "launch",
"console": "integratedTerminal",
"program": "dev",
"runtimeExecutable": "yarn",
"args": [],
"type": "pwa-node",
"cwd": "$ZED_WORKTREE_ROOT/packages/server",
"skipFiles": ["<node_internals>/**"],
"env": {},
"stop_on_entry": false
},
{
"adapter": "JavaScript",
"label": "ZED yarn test (server)",
"request": "launch",
"console": "integratedTerminal",
"program": "test",
"runtimeExecutable": "yarn",
"args": [],
"type": "pwa-node",
"cwd": "$ZED_WORKTREE_ROOT/packages/server",
"skipFiles": ["<node_internals>/**"],
"env": {},
"stop_on_entry": false
},
{
"adapter": "JavaScript",
"label": "ZED yarn test (shared)",
"request": "launch",
"console": "integratedTerminal",
"program": "test",
"runtimeExecutable": "yarn",
"args": ["-t", "forbids creation for users eligible"],
"type": "pwa-node",
"cwd": "$ZED_WORKTREE_ROOT/packages/shared",
"skipFiles": ["<node_internals>/**"],
"env": {},
"stop_on_entry": false
}
]