Skip to content
quarry History Of Ticket 9561ac07b182cee167cc07849500463a5d8f5682
Login

History Of Ticket 9561ac07b182cee167cc07849500463a5d8f5682

Artifacts Associated With Ticket 9561ac07b182cee167cc07849500463a5d8f5682

  1. Ticket change [e1204ae114] (rid 924) by dmestas on 2026-08-18 21:07:50:

    1. Untracked field cmimetype: "text/x-markdown"
    2. comment initialized to:
      quarry now DROPS `private_contact` and `contact` from ticket pages (check-in 3918395e). That was the right emergency fix — fossil gates them behind capability `e` and we were publishing them, including real e-mail addresses in fossil own tracker — but dropping is cruder than fossil.
      
      An admin or a maintainer legitimately needs the reporter contact: that is what it is FOR. Today nobody can see it through quarry at all.
      
      ## What fossil has
      
      A per-user capability string. The ticket-relevant letters: `r` read tickets, `n` create, `w` append/write, `e` view private e-mail addresses, `a`/`s` admin/setup. `e` is separate from admin precisely because "may contact reporters" and "may reconfigure the tracker" are different jobs.
      
      ## What quarry has
      
      `repo_role` with read | write | admin per account per repository, plus a site-admin flag. Three levels, nothing field-scoped — which is why the fix had to be all-or-nothing.
      
      ## Shape
      
      Do NOT import fossil letters. They are a compact encoding of a permission set, and quarry roles are already the same idea in words. Add one capability rather than a system:
      
      - `repo_role` gains an optional capability set beside the role: initially just `contact` ("may see reporter contact fields").
      - Ops that render tickets consult it; the field list becomes a function of the caller rather than a constant.
      - Site admins hold it implicitly, as they hold everything else.
      
      ## Why it stays small
      
      The moment this is a general capability system it needs a UI to manage it, docs, and an answer for every field a repository invents. One named capability covering the fields fossil itself singles out is the whole real requirement, and it can grow later without redesign — 0001 §8 already says role granularity "adds tables, not architecture".
      
      ## Depends on
      
      Nothing. Lower priority than reports and the schema-driven form: the current behaviour is SAFE, merely inconvenient, and the inconvenience falls on exactly the small group who can read the artifact directly.
      
    3. severity initialized to: "Minor"
    4. status initialized to: "Open"
    5. title initialized to:
      Field-level capabilities, so private ticket data can be shown to those entitled to it
      
    6. type initialized to: "Feature_Request"
  2. Ticket change [d99208696b] (rid 1062) by dmestas on 2026-08-19 11:04:27:

    1. priority changed to: "Low"
    2. type changed to: "Feature_Request"
  3. Ticket change [33b3e22723] (rid 1113) by dmestas on 2026-08-19 12:10:42:

    1. subsystem changed to: "tickets"
  4. Ticket change [473add858c] (rid 5381) by ai-local on 2026-09-03 11:54:49:

    1. icomment:
      Landed: fossil capability e is honoured. private_contact and contact are dropped for readers without it and shown (ShowPrivate) on the ticket page and timeline to accounts that hold e on the repository, per the capability model in Settings > Capabilities.
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  5. Ticket change [faeb9ea089] (rid 12467) by zeitgeist on 2026-09-24 00:52:58:

    1. Untracked field number: "32"