TFS Permissions: Allow vs. Deny (and a fix)

Allow and Deny permissions can cause confusion in TFS, for the most part deny overrides allow which means an Admin can lock themselves out of a project if they are not careful.  I’ll reference the other blogs I’ve read with regards to explaining the issue in depth as they have done it better than I could however I will share a solution in case you see yourself in this situation, recently provided to me by one of my customers.

I’ve never been one to let my pride get in the way of good advice so thank you Niels for the fix :)

“TF permission /server:hostname /inherit:Yes”

 

References:

https://teamfoundation.blogspot.com/2008/07/deny-or-allow-who-wins.html
https://teamfoundation.blogspot.com/2008/07/deny-or-allow-who-wins-sequel.html

Team Foundation Server Permissions
https://msdn.microsoft.com/en-us/library/ms252587.aspx

TF.exe Command-Line Utility Commands
https://msdn.microsoft.com/en-us/library/z51z7zy0.aspx