fix(capture): require write access for board attachment - #3310
Chris0Jeky wants to merge 6 commits into
Conversation
|
@codex address the exact-head CI failures without weakening the production write-authorization rule. The required corrections are bounded:
Run the focused Application/API tests, then the exact-head matrix. Do not add compatibility fallbacks in production, skip tests, or restore read-only board attachment. |
Summary
Testing
|
|
@codex publish the already-verified |
Summary
Testing
|
|
@codex the verified fixture patch is still not on GitHub: this PR remains at |
Summary
Testing / Publication
|
Summary
Aligns capture creation with the existing triage authorization boundary:
CanWriteBoardAsyncrather than readable Viewer access;A board-scoped capture can later enter that board's proposal queue, so this closes the create-time path that previously admitted a Viewer even though the equivalent triage-time link already required write access.
Tests
Adds focused Application coverage for:
Adds authenticated SQLite/HTTP coverage proving:
403 Forbiddencontract and gets no capture row;Verification
d9e791bb29694914a00e1631c86f069f2bd9abdfc31abe7d5ec3c8c726d711c07ba5eef66706cbbca9ae7bb0f4fa17707d7af5ab10762da3ff4017cfCaptureService; no migration, DTO, route, proposal, or control-plane changes.Closes #3291