|
2026-09-24
| ||
| 00:58 | • Ticket [7ddd1768ed] Several token/anonymous ops answer 403 for an ordinary account (G-49, G-30, G-31, G-50, G-62) status still Closed with 1 other change artifact: 109d317d37 user: zeitgeist | |
|
2026-09-22
| ||
| 17:29 | • Closed ticket [7ddd1768ed]. artifact: b59b3ef114 user: zeitgeist | |
|
2026-09-21
| ||
| 23:32 | • Ticket [7ddd1768ed]: 2 changes artifact: dca6648898 user: zeitgeist | |
|
2026-09-16
| ||
| 18:39 | • Ticket [7ddd1768ed]: 2 changes artifact: b398a2809e user: zeitgeist | |
| 18:17 | • New ticket [7ddd1768ed]. artifact: 10baa4172c user: jva | |
Several token/anonymous ops answer 403 for an ordinary account (G-49, G-30, G-31, G-50, G-62)
As jva (ordinary account, admin of dantest-sandbox): GET /api/v1/me/feed, GET/POST /api/v1/me/views, GET /api/v1/me/tickets -> 403; GET /api/v1/accounts/explain?name=jva&repo=quarry -> 403; GET /api/v1/mirrors -> 403. Anonymous on a Public repo whose anonymous category has C: chat.history, chat.get, chat.stream, ci.list, ci.gate.list -> 403 although documented anonymous; GET /api/v1/r/zit/archive/trunk -> 403 while the same on dantest-sandbox works. Looks like one wrong gate (missing p in the signed-in preset?) rather than many.
Triage (zeitgeist): plausible, grouped with b683c54b. jva's own guess — "one wrong gate rather than five bugs" — matches the shape: five unrelated ops failing the same way for the same account is one gate.
Caveat: the anonymous half is a different claim from the signed-in half and may have a different cause. Split it if the single-gate theory explains only one.
The signed-in half is fixed on landing 1cf0a9b8e1aa. The anonymous half is NOT touched, per the triage caveat that it may have a different cause.
THE GATE. jva's guess was right: one gate, not five bugs. A caller-scoped op resolves its letters against no repository, so the router asked the FLEET, and an ordinary account holds nothing a repository granted it there. Two letters happened to be in the fleet default (h, o) and passed; p and a were not, and refused every ordinary account.
Measured from a non-admin vantage, which is the only vantage this is visible from — it reads as fine from admin:
me.feed 403 lacks capability "p" me/views 403 same mirrors 403 cannot change this repository's settings (a per-repo sentence on a FLEET route) people 200 ok search 200 ok
SO IT WAS MORE THAN THE LIST. me.feed is the cross-repository dashboard and it refused every non-admin account as well — jva had it as working, because "p is the signed-in marker on four cross-repository ops, me.feed among them" describes the intent rather than the behaviour. account.passwd and account.reset declared p too, and their letters never fired: Auth: ops.Admin refuses first, which is why both read as admin routes all along.
WHAT CHANGED:
- A caller-scoped op may not declare Caps at all, refused at registration with the reason and this ticket's id — the same shape and rationale as the scope rule above it.
- The seven caller-scoped ops that declared a letter lost it: me.feed, ticket.across, view.list, view.save, view.delete, people.list, search.all. Each already scopes to the caller (myRepos, myReposWithRoles) or filters by reach (CanRead), so the letter added nothing but a refusal. Every body was read before its gate was removed.
- account.passwd and account.reset moved to ScopeFleet: they act on ANOTHER account, so "about the signed-in account" was never their subject.
- mirror.list moved to ScopeFleet with its letter kept — it lists the FORGE's mirrors, and ScopeCaller is what made its refusal read as a repository sentence.
- capRefusal now names the grantor by SUBJECT: a repository's admin when a repository is the subject, a site administrator when it is the fleet. Asking a repository's admin for a fleet letter is a dead end dressed as instructions.
NOT DONE, deliberately: the anonymous half (G-30, G-50, G-62). I could not reproduce those from the vantages I had, and the triage note warns they may not share this cause. They want measuring first — today has already produced four items that were already fixed when measured.
Closed on build c66192f8e312, measured by the reporter from two ordinary (admin:false) seats, jva and jan, since an admin's seat is the one that cannot see a 403. Landings 83e2796a962f (a fleet refusal names no repository) and 06e35ac2d2f0 (a caller-scoped op cannot be gated by letters); G-30 closed earlier. Measured: GET /api/v1/me/views -> 200 for both, proven with a real saved view that lists; GET /api/v1/mirrors -> 403 with a FLEET sentence and no repository named, which is what the ticket asked for. Two residues recorded in a separate Minor rather than left in this one: view.list without ?repo= answers {views:null}, a silent empty success with no parameter declared in the OpenAPI; and the OpenAPI still declares mirror.list and mirror.set at level token, which is exactly the level the op then refuses.