Overview
| Artifact ID: | 9dc2291965850b7720587899a5743073f4aca0d05c3587918c78a267f7e14e6f |
|---|---|
| Ticket: | 8518c09b21af97c7f2d8cd6a0ce5e0fc452a5bc7
Private tickets: honour is_private rather than indexing and ignoring it |
| User & Date: | dmestas on 2026-08-19 12:35:44 |
Changes
- icomment:
Fixed across two passes; this one closes it. **Already held** (from the migration work): the list, the board, search (dropped from the corpus, not filtered at query time), and the detail page — `TicketByPrefix` answers not-found for a private ticket, so a reader cannot even confirm it exists. **Fixed now:** - **Timeline events.** Every ticket change wrote an `event` row — id, author, date on public display. The fold now applies the same rule as the search doc: going private deletes the ticket's event rows, going public RESTORES them from ticket_change. An open-time sweep scrubs indexes folded before events followed privacy (verified live: tcl's 33 private tickets, 0 leaked events, timeline clean). - **The nav count** now reads `ticket WHERE private = 0` — a count that disagrees with the list it sits above is a confirmation leak. - **The one-way door.** `ticket.set` resolved ids through the same filtered reader, so a private ticket was permanently uneditable — nobody could ever un-private one. Writes (token-gated) now resolve via `TicketByPrefixAll`; reads keep the refusal. Erring toward private is only safe if un-privating stays possible. - `TicketPrivate(id)` errs toward withholding: an unknown id answers private. **Known remainders, deliberately out of scope:** attachment blobs remain hash-addressable if the hash is known from elsewhere (nothing public links them any more); contributor counts include private-ticket authors (names only). Both belong to #9561ac07b1's capability design.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Fixed"