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

Game door: the desk snapshot carries each player's allowed servers, from whoMayReach #18323

shipped production is serving it opened this has it

Landed in pull #18325 · run

opened this

Replaces #18303's forge half. The forge-velocity plugin's source is not in this repository and a new jar is pinned only after the owner uploads it, so this issue does only what the forge must do: hand the proxy the rule.

Done:

Risks: access data leaves the forge to the box; it holds only UUIDs and server names the box already knows.

commented

Reviewed pull #18325 at its head: ticked src/games/desk_snapshot.ts writes a reach table (player UUID, server name) into the SQLite file the agent already puts in the proxy's plugin folder, filled from whoMayReach in src/games/reach.ts; no new database table in the forge, no new grant.; A player with no link, an inactive account, no viewer-or-above role on a server, or an offline-mode network has no row for that server; the table exists (empty) even when nobody may reach anything, so a plugin can tell "nobody" from "old file".; Test (in the existing desk snapshot test file): a viewer gets a row for their server; a no-grant player and a deactivated one get none; the rows change when a grant is removed and the snapshot is made again.; docs/features/games.md names the reach table and its columns as the contract forge-velocity reads, and says the plugin still has to filter by it before the rule holds in the game..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs