简体   繁体   中英

How to restrict Devs to specific project in TFS

we are using TFS in azure devops i have a solution in visual studio 2019 and we have created a project in TFS this project is connected to the solution in vs2019

This solution has 5 projects

there are 2 admin which are currently developing these projects now we are planning to add 2 more devs but we want to restrict new devs to only 2 projects in that solution. for security purpose Thanks

If you are using TFVC as source control, you can refer to the steps below:

  1. Select Security tab for the folder of the project (one of the project in your solution folder)

在此处输入图像描述

  1. Set Read permissions for the devs to Deny.

在此处输入图像描述

If you are using Git as source control, you can't set the security for an item (project in a solution) in the repository. As workaround, you can split projects into multiple repo( submodules ), and then set permissions for each repo.

在此处输入图像描述

Here is a case with similar issue you can refer to.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM