In our organization we have some projects which are (by policy) open to all developers, QA, and project managers who have access to TFS. In a team project collection with more than 150 team projects and 500+ valid users, how can we easily add all valid TFS users to the "Readers" group for one specific project?
Considerations:
[Global]\Project Collection Valid Users
cannot be added to any group, because every group is automatically a member of the Valid Users group. That would create a circular membership, and TFS won't let you do it (as far as I have learned through experimentation) anyway.I have already looked at the StackOverflow questions How to Grant Read-Only Access to All TFS Team Projects to a Group of Users? and How to add Windows group as “Readers” to all projects in TFS 2010 collection? which were suggested as I began typing this question, but I am not trying to add one user to all projects; I am trying to add all users to one project.
Although you cannot add Project Collection Valid Users
to a project group, you can add the group itself and give it the same permissions as another group (for example, the project's Readers
group).
In this example, we will grant read-only access to all valid users in the collection. You will probably want to grant matching access to the project's source code as well, so I will include that in the example.
[YourCollectionName]\Project Collection Valid Users
and click OK.Readers
group has by default.[YourCollectionName]\Project Collection Valid Users
and click OK.Now all users who have been added to any team project in your TFS Project Collection will be able to access your project and view source code.
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