Overview
BE-90/BE-54 built dispute-filing endpoints, but backend/src/dispute/dispute.controller.ts doesn't appear to verify the requester is the document's owner (or an admin) before allowing a dispute to be filed against it — any authenticated user could file a dispute on someone else's document.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
BE-90/BE-54 built dispute-filing endpoints, but
backend/src/dispute/dispute.controller.tsdoesn't appear to verify the requester is the document's owner (or an admin) before allowing a dispute to be filed against it — any authenticated user could file a dispute on someone else's document.Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.