There are 6 different teams. Each team should have write access to X repositories, read access to Y repositories and no access to remaining ones.
Unfortunately with current BitBucket users management interface it is extremely hard to manage this. With old one it was possible to at least search on the page to quickly find some person in all groups and delete them when they leave the team. Now - you have to go through all groups one by one. It is really frustrating.