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

Spend 2: plan a Stop or Delete from the cost row, refused on a read-only account, audited #18102

shipped production is serving it opened this has it

Landed in pull #18170 · run

opened this

One sentence: from the /infra cost table and a resource's page an admin can plan a Stop or Delete and see exactly what it does before confirming.

Done when: a test with a stand-in vendor plans a stop and a delete, refuses both on a read-only account, performs them only after confirmation, and writes the audit rows.

Files: src/core cloud actions module, the /infra pages, src/http/marks/, test. Risks: deleting data; confirmation must name the resource and be same-origin checked. Suggested: scout. Replaces the action part of #18046.

commented

Reviewed pull #18170 at its head: ticked Stop and Delete on machines and volumes of accounts marked write-allowed, using what each vendor adapter can already end.; Planned first: the page names what will stop or be deleted, its cost now, and what is lost (a volume's data, an address). Then confirmed by the owner; Delete is never one tap, and is never offered to a read-only account (the server refuses it too).; Every stop and delete writes a cloud audit row: who, what, the confirmed plan.; New routes are marked admin in src/http/marks/; any new page is linked from a reachable page..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs