Attribute dashboard work requests to the authenticated caller #48
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#48
Reference in new issue
Block a user
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