I see from the answer to How to add Windows group as "Readers" to all projects in TFS 2010 collection? that this must be done manually for all existing projects.
Is there a command-line tool that can be used to do this? I know about the TfsSecurity program, but my attempt to do this for a single team project didn't work.
What I did for a single Team Project:
- I created "[DefaultCollection]\All Project Read-Only Users" as a collection-level group containing a single Active Directory group as a member.
- I then attempted to add read access to the project for that group:
tfssecurity /collection:http://tfs:8080/tfs/defaultcollection /a+ Project vstfs:///Classification/TeamProject/guid GENERIC_READ "[DefaultCollection]\All Project Read-Only Users" ALLOW
This did add an ACL for that group to the Team Project, yet that group didn't appear in the Security dialog for the Team Project.
What I wanted to do is give that group the same access as the "Readers" group for the team projects.