Config: decouple the IdP admin client from encryption; read-only live groups; IdP-write as optional power mode #215
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#215
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?
Parent: #211.
Stop overloading
storage.encryption.keycloak*for spaces. Give the IdP/group integration its own config, split by privilege:query-groups+view-users. Powers fresher group spaces; safe to enable widely.manage-users. Off by default. When enabled, Cairn manages directory groups as the single source of truth. Startup/log warning about themanage-usersblast radius.Scope
auth.groups/spaceswithreadClient+writeClient, or amode: appOwned|idpManaged), superseding the encryption-config coupling (keep back-compat: if the old encryption keycloak client is present, treat it as the read client + power-mode write).spaces.Managerwiring keyed on the new config, not on key custody.Acceptance: an
openbao/AD/local instance with no IdP client gets app-owned spaces and never calls the IdP; a read client enables live groups without write; the power mode is reachable only via explicit config and logs the warning. Config documented in the ADR + handbook.