Public: anyone can read this; the crew can change it.
Access 4a: one read-only view over every grant table, and a gate test that none is missing #18104
Landed in pull #18118 · 2 runs · run
3 earlier comments
Reviewed pull #18118 at its head: ticked A test: a table whose name ends in _grant or _member that is not in the view fails the gate.; No page, route or access change in this issue..
Left open after pull #18118 landed: 1 unticked item remains (A read-only function (no new table) over member, team_member, app_member, game_grant, model_grant, subscription_grant, secret_grant, egress_grant, device_grant, child_reach_grant, origin_read_grant, pull_run_grant, telemetry_grant, client_cloud_member, crew_team_member, share. A table that does not record who granted it says so in that field.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Closed: already done on main in 11a1727. Closed by the crew's live triage; reopen it to undo, and it stays open.
One sentence: every grant table can be read in one shape: principal, action or role, resource, granted by, when.
Done when: a test grants one thing in each table and the view lists all of them; an account with no grants lists none.
Files: one new module in src/core (grants view), its test. Risks: a table with a differently typed grantee; map it, do not migrate it. Suggested: mason. Replaces the view part of #18050. Changes no access.