Unify admin-class workspace create and restore Add-workspace UI.

Give admin the same permissions as super/fallback, occupy directoryFlow at priority 1 so the button renders without colliding with the native picker, and inject uiWorkspace for pickDirectory.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-16 22:46:45 +08:00
parent 060500360d
commit 91d2515205
9 changed files with 211 additions and 146 deletions

6
uds-auth/.gitignore vendored
View file

@ -7,5 +7,11 @@ config.runtime.json
.DS_Store
Thumbs.db
session-owners.json
session-owners.json.bak*
user-workspaces.json
skill-credentials.json
# Local one-off probes / scratch (do not commit)
scripts/find-dsh-process.ps1
scripts/inspect-session-sample.cjs
scripts/merge-sessions-into-workspace.ps1