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

Access 5: a visitor with no account is someone the forge knows, and what they made comes with them when they sign up #18051

Closed opened this has it

Pull #18069 was closed · 3 runs

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 and 2. The riskiest slice for privacy and for account takeover; the pull must carry a short threat note and a red-team test.

Build:

Done when: a test makes an app as a visitor, signs up, brings it, and finds it owned by the account; a second visitor presenting the first's id without its signature is refused; a forged carry-over into an existing account is refused.

commented

Red on three checks: pull #18069 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:

event audience coverage > every kind the source emits is classified

error: expect(received).toEqual(expected)

+ [

+ "visitor.brought (src/web/pages/visitor_bring.ts:107)",

+ "visitor.undone (src/web/pages/visitor_bring.ts:118)",

+ ]

the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.

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

Keyboard shortcuts

Docs