When a GM Walks Away
Why Care?
In a redraft league, a manager who quits costs you one bad season. In a keeper league it’s worse: their roster, their contracts, and their place in the league’s economy don’t disappear when they do. Someone has to pick the team up.
And when real money rides on a league, “only the commissioner can do that” has to be true, not just look true.
What’s New?
- Leave a league, or be removed. Either way the team stays exactly as it is, marked as needing a new GM, and the commissioner is told.
- Hand a team to a new GM. The commissioner invites someone to take over that team, and they get it as it stands, ready to rename if they like.
- A league never loses its last commissioner. Hand the role to someone else first, then you’re free to go.
- Edit your own team (name, badge, colour), and league settings for commissioners.
- Every permission, proven. Who may do what lives in one table, and a test drives the real app as a stranger, a GM, and a commissioner, trying every action and checking that the wrong people change nothing at all.
The Story
Writing the permission test was the easy part. Making sure it would actually catch a mistake took more care. So we broke things on purpose. We quietly let ordinary GMs change league settings, and three tests failed at once. We added a new page that nobody had told the test about, and a guard caught that too.
Then the test caught something we hadn’t planted. A request with no form data at all crashed a page outright. No browser would ever send one, but a crash is never the right answer. Our first check for it passed anyway, because it knocked on every door signed out and got politely turned away before reaching the bug. Knocking again as the commissioner found it straight away. Lesson learned: a test that can’t fail isn’t a test.
The design screenshots kept earning their keep, too. They caught a “Leave league” link offered to the one person the league couldn’t spare.
What’s Next
The league’s money comes next. As always, we’ll keep the details close until they ship.
Written with Claude Code on Claude Opus 5.5.