Attribute dashboard work requests to the authenticated caller #48

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

handleWorkRequest persists request.Identity from the submitted JSON as the task starter. A signed-in account can supply a different identity; local live verification recorded the submitted bot identity rather than the signed-in human. Bind the requesting actor to the authenticated principal on the server and keep workflow execution identity separate. Migrate UI/API callers rather than asking users to select who submitted the task. Verify submitted identity values cannot impersonate another requester and that workflow invocation policy checks use the actual initiating principal.

Close reason

Work requests derive requester from authenticated principal; removed requester selection and migrated seed caller. Regression demonstrated impersonation before fix, now rejects supplied identities and missing principals. Handler and workflow authority tests, intercepted browser submission, and full task check passed.


Imported from beads archie-core-3z4fd.10 · GitHub #1682 · type bug · priority P1 · created 2026-10-16 · closed 2026-10-16

handleWorkRequest persists request.Identity from the submitted JSON as the task starter. A signed-in account can supply a different identity; local live verification recorded the submitted bot identity rather than the signed-in human. Bind the requesting actor to the authenticated principal on the server and keep workflow execution identity separate. Migrate UI/API callers rather than asking users to select who submitted the task. Verify submitted identity values cannot impersonate another requester and that workflow invocation policy checks use the actual initiating principal. ### Close reason Work requests derive requester from authenticated principal; removed requester selection and migrated seed caller. Regression demonstrated impersonation before fix, now rejects supplied identities and missing principals. Handler and workflow authority tests, intercepted browser submission, and full task check passed. --- _Imported from beads `archie-core-3z4fd.10` · GitHub #1682 · type bug · priority P1 · created 2026-10-16 · closed 2026-10-16_
sam added the highbug labels 2026-10-27 13:34:44 +00:00
sam self-assigned this 2026-10-27 13:34:44 +00:00
sam closed this issue 2026-10-27 13:34:44 +00:00
sam added a new dependency 2026-11-14 14:45:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#48