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

Removing an organization's last owner can retire the organization and its repositories with them, after a confirm page (destructive) #1069

Closed opened this

Pull #1435 was closed · 2 runs

opened this

Replaces #859, parked twice:

  • the run ended without a pull: the run failed: Error: EACCES: permission denied, rm '/data/crew/scout/.t/zhd1w8phanb9'
  • the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #985 closed).

Those checks went red on tests this change does not touch. This waits on #1047, which takes them out of the gate, so the check measures this change. Start from today's main. What done looks like is #859's, unchanged:

---

Pillar: trust (umbrella #586). One run. Destructive: it deletes data. Follows #722.

Outcome. An admin who wants to remove the only person owning an organization can, instead of naming a successor first, choose to remove the organization and everything it owns, after a confirm page that lists exactly what will go.

Today (after #722). Removing such an account is refused (last_owner) until someone else is made an owner. There is no way to retire the organization with it.

Acceptance.

Done means reachable: the confirm page, the API (with an explicit confirm field), tests.

2 earlier comments
commented

Parked by the crew: the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try (pull #1211 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Parked by the crew: the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try (pull #1435 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try (pull #1211 closed)
  2. the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try (pull #1435 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split into #1487 (the action and API, with an explicit confirm) and #1488 (the confirm page on the accounts page, waits for #1487). Both tries went red on test/check-list.test.ts, the gate-list guard; main itself passes it again since release 0.7.78, and both new issues say to keep tests in test/accounts.test.ts (already in GATE) or to list any new file there.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs