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

Access 3, terminal and games: SSH screens and game grants ask may() in shadow #18396

shipped production is serving it opened this has it

Landed in pull #18412 · run

opened this

Why: #18049's order after web pages is SSH and the terminal screens, then games, where game_grant's owner, operator and viewer become roles in the same model.

Done:

Files: src/tui/screens/*, src/actions/roles.ts, src/core/may.ts, game grant code (grep game_grant), docs/features/may.md. Risks: games run outside the crew tonight (#18028, #18025, #18019, #18042 are a person's): touch only the grant check, nothing in those issues' files if they conflict; keep shadow-only. Brief: a Trust builder.

commented

Reviewed pull #18412 at its head: ticked Terminal screens that gate on admin or account (src/tui/screens) also ask may() and record a disagreement as door terminal <screen>; the old check still decides.; A game action's owner, operator and viewer checks map onto roles in may() (use the existing grant or role where one fits; add no new per-feature grant table) and disagreements are recorded as door game <action>.; Tests: one deliberate disagreement per door writes a row; agreement writes none.; docs/features/may.md names both doors..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs