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

Closed opened this has it

Landed in pull #18118 · 2 runs · run

opened this

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.

3 earlier comments
commented

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..

commented

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.

commented

Done on main already, waiting for you to close it: 11a17274092361038cf423604000be81c7e8e62f

commented

Closed: already done on main in 11a1727. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs