Orphan space folders: "Assign a new owner" — hand an unmanaged folder to any user, not just the acting admin #719
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#719
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Follow-up to #715/#717, per Nikola's decision during the dogfood cleanup (2026-09-24).
Context: with #715, a
/spacesfolder that matches no app-owned record and no directory group the IdP knows reads "Folder in storage — no managing group found". #717 added the cleanup path (Take over and deactivate → standard delete lifecycle). This issue covers the keep path.Idea: this state should be rare-to-never after #690 removed group synthesis — but if a folder ever falls into it at a customer (IdP group deleted, storage migration, manual dir), the admin should be able to rescue it, not only clean it up. The orphan row's menu gains "Assign a new owner": a dialog with a user picker (same candidates idiom as the space member picker, degrading to free-text without an enumerable source). Confirming creates the app-owned record with the chosen user as owner — the folder becomes a normal
Owned by <user> · app-managedspace, active, with the full lifecycle and member management.Notes for the design round:
POST /api/v1/spacescurrently hardcodes the caller as owner — needs an admin-onlyownerfield or a dedicated admin endpoint).space-createwith the assigned owner, or a dedicatedspace-assign-ownerverb — decide in design.Low priority: edge case by construction; #717 already covers the destructive path.