mirror of
https://github.com/HeyPuter/puter.git
synced 2026-10-03 02:18:06 +00:00
Deleting a team suspends every provisioned seat, but every member route resolved live teams only — so the suspended seats could never be deleted afterwards, stranding the accounts and, on the billing side, their paused subscriptions. deleteMember now resolves the team soft-deleted or not, matching the audit reader. It also gains the guard enableMember always had: only the team's own suspension qualifies. A platform-suspended seat could previously be cascade-deleted by the owner, destroying an account Puter had frozen.