oliver-zehentleitner / maity

hub+web: claim requests: can_confirm on the task view, and an exact list of the open requests the caller confirms

Sign in to report

tsk-xrn8967mbrtk Open

Follow-up to tsk-4k179aw0k6e8 (web PR2, 956m go_request seq 250997).

A. The task view has no "may confirm" field. The web shows Confirm/Decline only to tasks:admin and policy.coordinator. coordinator_substitute and the agent confirmers under outside_claims: agent get only the bell item. Fix: add a can_confirm bool to each claim_requests entry (hub views.py ~1170-1194), computed with the confirmer filter in claim_requests.py ~155-253. The web then shows the buttons from it.

B. The inbox list is approximate: it reads the newest 50 inbox items. Fix: a route that lists the open claim requests the caller confirms; the web inbox box reads it.

Boundary: contract §6.5 + hub route/view + web board/inbox. After the launch unless a stranger run shows a stuck request.