简体   繁体   English

如何将开发人员限制在 TFS 中的特定项目

[英]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 作为源代码控制,您可以参考以下步骤:

  1. Select Security tab for the folder of the project (one of the project in your solution folder) Select 项目文件夹的安全选项卡(解决方案文件夹中的项目之一)

在此处输入图像描述

  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.如果您使用 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.

相关问题 如何将 iframe 限制为特定域 - How to restrict an iframe to a specific domain 如何限制具有特定角色的用户对文件夹的访问 - How to restrict the access to a folder to users in specific roles 如何限制Chrome应用只能在特定计算机上运行? - How to restrict Chrome Apps to only work on specific computers? 如何限制RethinkDB对特定应用程序的访问? - How do I restrict RethinkDB access to a specific application? 如何将URL限制为特定的无线网络? - How do I restrict URLs to a specific wireless network? Drupal 7:如何限制对特定用户角色的文件访问 - Drupal 7: how to restrict file access to specific user roles 如何使用IdentityServer4将身份验证限制到特定域 - How to restrict authentication to a specific domain using IdentityServer4 如何通过容器配置通过ip将访问限制为特定的servlet - how to restrict acces to specific servlet by ip - via container configuration 如何将 static 文件的访问权限限制为特定的登录用户? - How can I restrict the access to a static file to a specific logged in user? 如何限制项目管理员仅创建新的存储库,azure devops中的master分支 - How to restrict project admin only to create new repository, the master branch in azure devops
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM