How can I grant Team Project access to all users?

余生颓废 提交于 2019-12-03 12:19:06

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).

Steps to Add "Project Collection Valid Users" to a Team Project

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.

  1. Open Team Explorer
  2. Right-click on the team project name
  3. Select Security...
  4. In the Project Security dialog that opens, make sure that Team Foundation Server Group is selected, and click Add...
  5. In the Add Group dialog that opens, your project's groups and all global groups are listed. Select [YourCollectionName]\Project Collection Valid Users and click OK.
  6. Back in the Project Security dialog, the lower pane lists available permissions. Check the view project-level information permission.
    • Optionally, select the View test runs permission as well, since that's what the Readers group has by default.
  7. Click Close to close the Project Security dialog.
  8. Open Source Control Explorer
  9. Right-click on the source control root for your project
  10. Select Properties..._
  11. Click the Security tab in the Properties dialog
  12. Make sure that Team Foundation Server Group is selected, and click Add... selected, and click Add...
  13. In the Add Group dialog that opens, your project's groups and all global groups are listed. Select [YourCollectionName]\Project Collection Valid Users and click OK.
  14. Back in the Properties dialog, still on the Security tab, the lower pane lists available permissions. Check Allow for the Read permission.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!