Dashboard runs without permission checks if the State Store is down at boot #1229

Closed
opened 2026-10-27 13:39:32 +00:00 by sam · 1 comment
Owner

When the UI service cannot reach the State Store at startup it skips building the access chain, and authorize then lets every request through as the system org with no role check until a restart. A slow database or a bad start order leaves the dashboard open. Done when the UI refuses API requests until the chain is ready (or builds it lazily with retry) and never serves without it once orgs exist.

Close reason

Closed


Imported from beads archie-core-b2igq · GitHub #1578 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-10

When the UI service cannot reach the State Store at startup it skips building the access chain, and authorize then lets every request through as the system org with no role check until a restart. A slow database or a bad start order leaves the dashboard open. Done when the UI refuses API requests until the chain is ready (or builds it lazily with retry) and never serves without it once orgs exist. ### Close reason Closed --- _Imported from beads `archie-core-b2igq` · GitHub #1578 · type bug · priority P1 · created 2026-10-10 · closed 2026-10-10_
sam added the highbug labels 2026-10-27 13:39:32 +00:00
sam self-assigned this 2026-10-27 13:39:32 +00:00
sam closed this issue 2026-10-27 13:39:32 +00:00
Author
Owner

sam wrote (originally 2026-10-10):

Reopened by bd github sync importing auto-created issue #1578, which the sync created open. The fix is shipped on main: bccb2659 refuses API requests until the access chain loads, and 43769e90 (chain with no engine is a refusing engine, not nil) refines it. Re-closing.

_sam wrote (originally 2026-10-10):_ Reopened by bd github sync importing auto-created issue #1578, which the sync created open. The fix is shipped on main: bccb2659 refuses API requests until the access chain loads, and 43769e90 (chain with no engine is a refusing engine, not nil) refines it. Re-closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1229