Prevent identity suspension from disabling the final organisation owner #1281

Closed
opened 2026-10-27 13:39:45 +00:00 by sam · 0 comments
Owner

Identity lifecycle changes can suspend or retire a person independently of organisation membership guards. With real sign-in, disabling the final active owner can remove browser administration access. Add an atomic guard across concurrent lifecycle and membership changes, and verify a second owner permits suspension while the final active owner remains protected.

Close reason

Suspend/retire, owner removal and owner demotion lock the org's owner rows and refuse when no other active owner remains (409 in the dashboard). Verified on Postgres 17 incl. two owners suspending each other concurrently.


Imported from beads archie-core-d7avc · GitHub #1697 · type bug · priority P1 · created 2026-10-15 · closed 2026-10-16

Identity lifecycle changes can suspend or retire a person independently of organisation membership guards. With real sign-in, disabling the final active owner can remove browser administration access. Add an atomic guard across concurrent lifecycle and membership changes, and verify a second owner permits suspension while the final active owner remains protected. ### Close reason Suspend/retire, owner removal and owner demotion lock the org's owner rows and refuse when no other active owner remains (409 in the dashboard). Verified on Postgres 17 incl. two owners suspending each other concurrently. --- _Imported from beads `archie-core-d7avc` · GitHub #1697 · type bug · priority P1 · created 2026-10-15 · closed 2026-10-16_
sam added the highbug labels 2026-10-27 13:39:45 +00:00
sam self-assigned this 2026-10-27 13:39:45 +00:00
sam closed this issue 2026-10-27 13:39:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1281