Skip to content
quarry View Ticket
Login

View Ticket

Mirrors accept local writes: pushes, tickets, wiki and forum land on a tracking store and fork it by accident

Fixed4cf35e2e7370cac2f9adaa88e305141fabaa2405Created 101.2 days agoUpdated 67.9 days ago
Description2026-08-21 18:09:51
`/xfer` push gating is by role and lease only; `ticket.new`, wiki edits and forum posts never check `MirrorFor`. A write-role user can push into a mirrored store, and the next scheduled pull merges upstream on top of local divergence — a fork nobody decided to make.

- Refuse pushes to a repo with an enabled mirror: `not authorized to write: this store mirrors <url>`. Same refusal in ticket/wiki/forum/technote ops. - Per-mirror `accept_local_writes` (default off) makes the fork-with-upstream posture explicit and visible in the admin table. - In the web UI, redirect rather than hide: on a mirror, "New ticket" / "Edit" / "New post" become "… on upstream →" links to the corresponding Fossil pages (`/tktnew`, `/wikiedit?name=`, `/forumnew`) when the upstream is a Fossil server.

Depends on the repo-posture ticket.

2026-08-21 18:35:02

Implemented on branch mirror-posture (d980bf4d, 9689ddd0, 074cb807). Checklist on wiki page 'Audit after change' §5.

2026-08-21 19:52:44

Merged to trunk in e61bc36d (mirror-posture).