In my environment we have Dev, Main and Production branches. We also have Business and Architecture teams. What I would like to achieve is the following:
Currently, both teams are members of the Contributors group on the Team Project.
Final Solution:
NB: You can't deny the unwanted permissions for Contributors because if a user is both in Contributors and Promo Officers, then the deny takes precedence and they won't have the correct permissions. Secondly, I wasn't able to achieve my goal of only allowing merges to Main and Production as you need Check In and Check out permissions to do merges.
If you right-click a folder in Source Control Explorer and go to Properties -> Security you can manage permissions right down to the folder/branch level.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With