Workflows run as their own identity; dispatch authorizes that identity #1696

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

Dispatch authorizes every binding as the daemon's root identity (authorizeDispatch uses RootIdentityID), so the identity+workflow level of the access chain never narrows anything. The design: a workflow names the identity it runs as; a workflow called by another runs as its own identity and the caller must be permitted run on it. Done when a workflow definition carries a runs-as identity editable from the dashboard, dispatch evaluates the chain for that identity, and a workflow whose identity lacks run on it is refused with a recorded denial.

Close reason

Workflows run as their declared identity; shipped workflows declare root until archie-core-fndis


Imported from beads archie-core-zfv0 · GitHub #1330 · type feature · priority P2 · created 2026-10-03 · closed 2026-10-11

Dispatch authorizes every binding as the daemon's root identity (authorizeDispatch uses RootIdentityID), so the identity+workflow level of the access chain never narrows anything. The design: a workflow names the identity it runs as; a workflow called by another runs as its own identity and the caller must be permitted run on it. Done when a workflow definition carries a runs-as identity editable from the dashboard, dispatch evaluates the chain for that identity, and a workflow whose identity lacks run on it is refused with a recorded denial. ### Close reason Workflows run as their declared identity; shipped workflows declare root until archie-core-fndis --- _Imported from beads `archie-core-zfv0` · GitHub #1330 · type feature · priority P2 · created 2026-10-03 · closed 2026-10-11_
sam added the featuremedium labels 2026-10-27 13:41:25 +00:00
sam self-assigned this 2026-10-27 13:41:25 +00:00
sam closed this issue 2026-10-27 13:41:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1696