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

Access 4: one view of every grant, and a page that says who may do what #18050

Closed opened this has it

Landed in pull #18062 · 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 1. Changes no access.

Build:

Done when: a test grants one thing in each table and the page lists them all; an account with no grants shows only what its role gives.

commented

Red on three checks: pull #18062 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

the repository > carries no hollow work beyond what is allowed, and allows nothing that is reached

error: expect(received).toEqual(expected)

- []

+ [

+ "GET /settings/who-can (src/web/pages/who-can.ts) is a screen no page links to: link it from a page a person can get to, or list it in ALLOWED (scripts/hollow-allow.ts) with the issue that owns i…

+ ]

Sign in to join this conversation.

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

Keyboard shortcuts

Docs