[英]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我们在 azure devops 中使用 TFS 我在 Visual Studio 2019 中有一个解决方案,我们在 TFS 中创建了一个项目这个项目连接到解决方案
This solution has 5 projects该解决方案有 5 个项目
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.目前有 2 个管理员正在开发这些项目,现在我们计划再添加 2 个开发人员,但我们希望将新开发人员限制为该解决方案中的 2 个项目。 for security purpose Thanks出于安全目的谢谢
If you are using TFVC as source control, you can refer to the steps below:如果您使用 TFVC 作为源代码控制,您可以参考以下步骤:
If you are using Git as source control, you can't set the security for an item (project in a solution) in the repository.如果您使用 Git 作为源代码控制,则无法为存储库中的项目(解决方案中的项目)设置安全性。 As workaround, you can split projects into multiple repo( submodules ), and then set permissions for each repo.作为解决方法,您可以将项目拆分为多个 repo(子模块),然后为每个 repo 设置权限。
Here is a case with similar issue you can refer to.这是一个您可以参考的类似问题的案例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.