#717: orphan space folders gain Take over and deactivate #718
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-717"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #717
An orphan row ("Folder in storage — no managing group found", from #715) has no spacestore record, so the existing lifecycle endpoints would 404 — which is why its menu offered only Details.
Fix (UI only): the orphan menu gains "Take over and deactivate" (danger item): it claims the folder through the normal
POST /api/v1/spaces(record owned by the acting admin; the directory already exists, so the best-effort Mkdir is a no-op) and immediately runs the standard deactivate. On reload the row is a regular app-owned space — Reactivate or the type-the-name Delete (contents to Deleted files, name tombstoned) apply as usual. A tombstoned name surfaces the existing "reserved" refusal via the server message; IdP-verified managed rows stay Details-only.Tests:
web/test/qa717.test.js(orphan branch, claim-then-deactivate sequence, i18n ×4 forspcTakeOver).