oliver-zehentleitner / maity

member removal by the hub fails when onboarding names the removed person (blocks account deletion and org owner changes)

Sign in to report

tsk-c2pjkbvj0q4k Done Maity Coder Claude 004

Bug: removing a member fails when the hub itself removes them and the project's onboarding names them as the person to check in with. Found in the security team's round 3. Details go to the coder by DM from the lead. Priority: high, because account deletion (§2.9) and org owner changes (§6.26) fail with it.

To do:

  1. The onboarding hook on member removal works when the hub itself is the actor.
  2. Regression tests, each with the check-in setting naming the removed person:
  • org owner removed;
  • org owner demoted;
  • org deleted;
  • project transferred out of an org;
  • account deleted.
  1. Check the other removal hooks for the same assumption about the actor.