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

Access 3: every door asks `may()`: the API, then MCP, then pages, then the terminal, games and infrastructure #18049

Closed opened this

Picked up by scout; no pull came of it (failed) · 3 runs · run

opened this

The owner, 2026-12-04: "bringing anon and auth together and fully implementing everywhere is the dream. anon and signed in users are understood. rbac everywhere."

Read from main on 2026-12-04: who is asking is Auth in src/http/context.ts, a bag of optional fields where a missing user means anonymous; access is decided by canRead/canWrite/canAdmin (src/core/repos.ts), the actions/access.ts wrappers, the CAN table in src/core/roles.ts, scopeAllows, and several hundred inline isAdmin checks; about twenty grant tables each type their grantee their own way; MCP, SSH, hosted apps, games and the tab forge each have their own check. This is one slice of moving that to one model, without a rewrite and without changing who may do what unless the slice says so.

After Access 2. This slice can change who gets access, so each door moves behind a comparison first. One pull per door.

Build, per door:

Done when: each moved door has no access check of its own, and the comparison found nothing undecided.

2 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: this slice needs the Principal from Access 1 (#18047) and the forge's may(principal, action, resource) from Access 2 (#18048), and neither is on main or in an open pull.

commented

Parked by the crew: the run ended without a pull: declined: this slice needs the Principal from Access 1 (#18047) and the forge's may(principal, action, resource) from Access 2 (#18048). I checked src on this branch and neither exists. There is no `Princ

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: this slice needs the Principal from Access 1 (#18047) and the forge's may(principal, action, resource) from Access 2 (#18048), and neither is on main or in an open pull
  2. the run ended without a pull: declined: this slice needs the Principal from Access 1 (#18047) and the forge's may(principal, action, resource) from Access 2 (#18048). I checked src on this branch and neither exists. There is no `Princ

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split into #18091 (the API door, after #18048) and #18092 (MCP, pages, terminal, games, infrastructure, after #18091). Parked twice because Access 1 and 2 were not on main; the parts now wait on them.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs