Spaces admin claims "Managed by the identity provider" for any unclaimed /spaces directory — without asking the IdP #715
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#715
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?
Found by Nikola during the #690 cleanup (v0.6.263, files-bao). The old synthesized dirs (
test5,qa656,Fall 1-3, ...) still read "Managed by the identity provider", but id.c0rdyceps.ch has no groups with those names — verified in Keycloak.Root cause:
mergeSpaceDirs(spaces_union.go) marks every backend/spacesdirectory that no app-owned record claims asManaged: true, and the UI rendersmanagedas "Managed by the identity provider" (spcManaged). The label is an assumption, never a lookup: orphaned folders (pre-#690 synthesized dirs, groups since deleted in the IdP, hand-created dirs) get attributed to the IdP that never heard of them.Why this matters beyond the dogfood: at a customer, an orphaned folder would carry a false compliance-relevant attribution ("the IdP manages this") when in fact nobody manages it — the exact edge case an auditor or admin needs surfaced, not papered over.
Expected: three honest states in the inventory:
Owned by X · group Y · app-managed(shipped in #690).When the live IdP listing errors (outage), fail toward the old attribution rather than mass-flagging orphans.