issue.html: the State box (Close/Reopen issue) renders onCanEditinstead ofCanWrite.mr.html: "Close without merging" and the draft toggle move out of the writer-only Review/Merge block into their own State box onCanEdit(open or source_gone); Approve / Request changes / Merge stay onCanWrite.CanEditiscanEditItem(author or write), the same rule as the commands'authorOrWrite. The POST routes arerequireUseronly, so no handler change.authorclose_test.go: an author without write sees close (and draft); a non-author reader does not; the author does not get review or merge.- CHANGELOG entry under Unreleased.
Build, vet, and internal/httpd, internal/web, internal/control tests pass locally.
Closes #311