Assume it doesn’t work: how we bug bash a feature built by four teams
Four parts of our new access control were done. We had the roles API, permission checks behind every endpoint and new screens with the migration flow. We also had a new sync for customers whose groups come from their identity provider. Each part had tests. None of them had ever run together.
Assume a project like that doesn’t work. That’s not because anyone did bad work. Nobody has looked at the seams yet. So we planned a series of bug bashes. The format ended up mattering as much as the bashing itself.
What didn’t work
Our first try was a half-hour slot where two time zones overlapped. That was too short for anything but a demo. A two-hour UI walkthrough was better, though still nowhere near exhaustive. Testing everything at once meant we tested nothing deeply.

What did
- One piece at a time, in order. We started with the permission checks since everything else depended on them. Next came the migration, the identity provider sync and finally everything together.
- One session per time zone. We ran one in India and one in the US. Both used the same template and test guidance.
- A working meeting, not a demo. The organizer prepares the template and test steps. Everyone tests and drops their findings into one shared table. The owner sorts those into tickets afterward. Better to over-ticket than under-ticket. Duplicates are cheap to merge, unlike a missed bug.
- A gate on the calendar. Both permission sessions had to happen before we turned on the new checks. If they didn’t, the date moved.
Make the silent failures loud
The best trick came up while we planned the permission bash.
The new permission checks were supposed to read from a new system. During the transition, they used the old database as a fallback. A fallback is great for safety and terrible for testing. If a new check quietly falls back to the old data, everything still looks fine.
So we planned to delete the old permissions on the test environment. Any check still leaning on them would fail with a “permission denied” instead of quietly succeeding. That made a silent problem loud.
Two more rules came out of the same thinking:
- Test through the UI, not just the API. An API test misses an unexpected “permission denied” on a background request. In the console, it shows up as a broken page with a generic error. That’s exactly what a customer would see.
- Check lists, not just pages. A list can mix things you can and can’t see. The ones you can’t see should disappear cleanly, end to end.
A fallback is great for safety and terrible for testing.
What the full bash found
By the full integration session, about 35 pull requests had merged since the day before. We seeded test environments with a realistic organization. We invited test users with plus-addressed emails. Opening their invite links in private windows let us act as them. We kept testing free-for-all instead of splitting it by area. The seams are exactly where nobody’s area is.

Some of what came out of it:
- A security problem. In an earlier session, we found a service account sitting in the group every user belongs to. That quietly handed it everything the group can do. The biggest catch of the whole series went straight to the top of the list.
- The wrong advice. “Permission denied” told users to contact support. It should tell them to contact their admin, who can actually fix it.
- A filter that looked like a bug. A read-only user saw an empty list of workspaces. The list defaults to “created by me”.
- A slow bulk action. Deleting 116 users took about a minute and a half. That’s fine for us, but a problem for a customer with thousands.
Not everything was a bug. One “missing access” turned out to be a user who was never added to the right group. That’s still a useful finding. If the testers get it wrong, customers will too.
If you want to try it
- Assume it’s broken until it’s been tested together. Plan sessions for each piece before the full one.
- Turn off the safety nets on the test environment so failures can’t hide behind them.
- Test the way users do, through the UI and as real users with real roles.
- Write everything into one table. Let one owner sort through it afterward.
- Put the bash on the critical path. If it’s optional, it’ll get skipped.
