Reputation: 1682
I have a TFS environment which has lots of different folders and branches and a lot of the branches have explicit permissions.
How do I reset these on mass to inherit so I can configure the permissions properly without having to go into each branch individually?
Upvotes: 0
Views: 400
Reputation: 51133
Update:
For now Clear explicit permissions only works for the selected branch , which will not either inherit to or effect any child branches.
looking to something that resets the permissions on mass as we have a lot of branches
This is not supported, sorry for any inconvenience. You could submit a user voice here: https://developercommunity.visualstudio.com/spaces/21/visual-studio-team-services.html?type=idea Our PM will kindly review any feature requests.
You could first turn on your inheritance and clear explicit with single click for each branch which have explicit permissions.
After this, Contributors Group in other branches will totally inherit the permissions set by root path of your repo/workspace. For example, if root path are Allow, your branches should be Allow(inherited), if it's Deny, your branches should be Deny(inherited).
If a permission isn't directly allowed or denied for a user, then it may be inherited in two ways.
Users inherit permissions from the groups to which they belong. When a permission is allowed for a user directly or through membership in a group that has that permission, and it is denied, either directly or through group membership, the permission is denied.
Members of Project Collection Administrators or Team Foundation Administrators retain any allowed permissions, even if they belong to other groups that deny those permissions.
More details please take a look at our official tutorial here: Inheritance and security groups
Upvotes: 1