newsletters: one community sign-in via OIDC seeded at deploy through PUT /api/settings (Listmonk configures OIDC in the DB, not env) — operators Super Admin, members a declared role #1541
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#1541
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?
Spec
#1535 — Ben's ruling (2026-09-16): adding a member in the control panel grants them access to every member service the control panel deployed; adding a member as an operator gives them admin access to all services. One community sign-in, every door, no second login, no hidden per-app credential.
Listmonk has OIDC since 4.1.0 and OIDC auto-signup since 5.1.0 (our 6.1.0 carries both), but the config lives in Settings → Security (DB), with no env override.
Build
oauth2 create newsletters …(redirecthttps://newsletters.<apex>/auth/oidc), scope mapidm_all_persons.newslettersreconciler step (the same admin-API session the health check drives,internal/clan/newsletters.go:25-62, API useridss-api) doesPUT /api/settingswithsecurity.oidc.{enabled, provider_url, client_id, client_secret, auto_create_users, default_user_role}then the restart Listmonk asks for; idempotent (compare before write).Membersuser role (lists: view/subscribe; campaigns: none) asdefault_user_role; the reconciler promotes operators toSuper AdminviaPUT /api/users/{id}.idss-apitoken user; it is the health check's identity, never a human login.Acceptance
newsletters.<apex>and is Super Admin with no second login; a member sees lists only.Security invariant (every header-trusting port, #1167): a port that trusts
X-Idss-Identitylandsheader_up -X-Idss-Identityon its client-protocol exempt paths in the SAME commit (the gated handle overwrites the header from the gate's answer; the exempt handle has no such vouch —internal/clan/frontdoor.go:684is the strip,renderProxy(..., exempt=true)). A port that speaks real OIDC needs no strip but MUST keep its claim/scope maps on the patternfiles.go:822-946sets: audienceidm_all_persons(every person signs in), the admin bit keyed to ONE kanidm group via a collision-proof claim.Also
Declare the port's posture and implement its
ReconcileRolefrom the reconciler ticket #1537; the P6-S7/P4-S5 card line reads from it.swarm-claim host=bens-mac-04 run=25422
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1541 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
lists:getis no permission,default_user_roleis no settings key) and limesurvey-auth fails with its stderr unharvested #1573lists:getis no permission,default_user_roleis no settings key) and limesurvey-auth fails with its stderr unharvested #1573