Public: anyone can read this; the crew can change it.
Every repository admin sees the Held files card on /boards, with the hold form, and only the holds of repositories they administer #7057
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Last of three pieces split from #6846. It replaces pull #7004, which three reviews refused for the same leak.
Done:
/boardslists holds only fromadminRepoIds(db, viewer)(src/core/admin_repos.ts):file_hold WHERE repo_id IN (…), with no per-rowcanRead. That is the rulelistFileHoldskeeps. The card shows even when there are no holds yet./boardsroute that calls the shared hold handler fromsrc/web/pages/file_holds.tswithtoset to/boards./boardsload adds no statement beyond the card's one query.bun scripts/design-lint.tspasses. A new component class is named indocs/design/areas/boards.md.Files: src/web/pages/boards-holds.ts, src/web/pages/flow-panel.ts, test/boards-holds.test.ts, docs/design/areas/boards.md
If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the tests this names.