fix(webui): bind task requester to authenticated principal

This commit is contained in:
sam committed 2026-10-17 08:42:08 +11:00
1 parent 4217a50874
commit cbc4cf309d
7 files changed
+157 -124

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ fi
tasks=$(get /api/tasks)
for t in "Fix flaky login test" "Add retry to webhook sender" "Document the gate" "Speed up the CI cache"; do
grep -qF "\"$t\"" <<<"$tasks" && continue
post /api/work-requests "{\"identity\":\"archie-dev\",\"repository\":\"acme/widgets\",\"workflow\":\"triage\",\"title\":\"$t\",\"instructions\":\"Do it.\"}" >/dev/null
post /api/work-requests "{\"repository\":\"acme/widgets\",\"workflow\":\"triage\",\"title\":\"$t\",\"instructions\":\"Do it.\"}" >/dev/null
done
# An unsigned capture source with one delivery, an event type, a mapping and