Public: anyone can read this; the crew can change it.

Access 3, terminal, games and infrastructure: the entries' own gates are deleted once may() has been asked beside them and agrees #18425

Closed opened this has it

Landed in pull #18428 · 2 runs · run

opened this

Intent: the terminal's screens, the game grants and the infrastructure/cloud routes have one access check, may() (Access 3 of #18049; shadows landed in #18409 and #18412).

Done looks like:

Files expected: src/http/api/infra*.ts or the infrastructure route files, src/tui/screens/entries.ts, src/tui/screens/*.ts gates, src/games/game_may.ts, src/games/store.ts, src/http/games_map.ts, docs/features/may.md, tests.

Risks: can change who gets access; land the infrastructure part first in the same pull only if its tests are green alone, otherwise ask for the split in the pull. Production's access_disagreement rows for terminal %, game % and the infrastructure doors must be empty or each decided in the pull; say what you could read.

Brief: a builder familiar with src/games and src/tui; a person assigns.

3 earlier comments
commented

Reviewed pull #18428 at its head: ticked Infrastructure and clouds: the admin-only routes decide by forge.administer through may; their inline isAdmin checks are deleted. A test proves a non-admin, an admin, an ro admin token and an anonymous caller get the same status they got before (not_found / unauthorized / forbidden).; The lists that only filter and the background-job re-checks named as 'not asked yet' in docs/features/may.md are left as they are and stay named there.. left open: Terminal: src/tui/screens/entries.ts offers an entry by its asks through may; the entry's own gate function is removed for entries that name an action. The two expected partings in docs/features/may.md (signed out on account screens; an admin agent on a person's screens) are decided in the pull and the test pins the decision. Entries that name no action keep their gate and say why beside it. — Not in this pull; it was split into #18426.; Games: mayOnGame (src/games/game_may.ts) answers alone for the box, server and game-door checks; the grant tables stay the data behind game.view/game.operate/game.own (no new grant table). The ro-token-operates-a-server parting is decided and tested. — Not in this pull; it was split into #18427.; The gate rule from #18410 covers these files. — The rule now covers infra_routes.ts and cloud.ts only. The terminal and games files come with #18426 and #18427..

commented

Left open after pull #18428 landed: 3 unticked items remain (Terminal: src/tui/screens/entries.ts offers an entry by its asks through may; the entry's own gate function is removed for entries that name an action. The two expected partings in docs/features/may.md (signed out on account screens; an admin agent on a person's screens) are decided in the pull and the test pins the decision. Entries that name no action keep their gate and say why beside it.; Games: mayOnGame (src/games/game_may.ts) answers alone for the box, server and game-door checks; the grant tables stay the data behind game.view/game.operate/game.own (no new grant table). The ro-token-operates-a-server parting is decided and tested.; The gate rule from #18410 covers these files.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Done on main already, waiting for you to close it: be10e7a845117ba453bf21e643c470e551cfff28

commented

Closed: already done on main in be10e7a. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs