Overview
| Artifact ID: | 0024ed2db054a208b830e325725e77cc82e07f7226beeae3ddd3594e0f157ef0 |
|---|---|
| Ticket: | 74f040e029d4ac44a8389549edb64b23f70c8bf7
Anonymous fossil push accepted on a freshly created public repo (G-32) |
| User & Date: | zeitgeist on 2026-09-17 21:34:33 |
Changes
- icomment:
Fixed. Anonymous push is an opt-in through the letters, and the gate fails closed. The report named the cause exactly: "the sync gate never consulted the letters". It did not. Gated(repo) only decided WHETHER to authenticate; the authoriser was the sync_user table, which is CLI-provisioned with no UI anywhere, so the gate was disconnected from both accounts and capability letters. A freshly created public repository therefore accepted a push as anonymous while its own settings page said check-in was required. Landing 0baba6ca: the gate consults the letters and fails closed, guarded by TestAnonymousPushIsAnOptInThroughTheLetters — a repository whose nobody category grants i may accept an anonymous push, and one that does not may never. The refusal a client now gets says what is missing: "anonymous push is not accepted here: push with --user and a push credential". Two related landings went with it: af09dd99, so an account the letters let check in can actually push, and e5ba9956, a push credential a person can mint and revoke. 786ab6c5 covers those and is closed too.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"