在 Team Foundation Server 2015 上构建不可读的文件

Build unreadable files on Team Foundation Server 2015

我会尽力解释我的问题,为我糟糕的英语道歉。

我需要在 Team Foundation Server 2015 中管理多个帐户,以便其中的一组帐户对某些解决方案文件不可见, 但仍然可以工作。 这意味着,出于安全原因,他们必须能够构建整个解决方案,但不能读取所有源代码。

你有什么建议吗?

感谢您的回复!

TFS 构建正在使用构建服务帐户,而不是触发构建的用户。只要构建服务帐户具有适当的权限,它就会从 TFS 服务器获取源并下载到构建代理。

TFS中的权限是相互独立的。权限可以直接授予单个用户或组。

在版本控制权限中,显式拒绝优先于管理员组权限。

您可以拒绝这些用户的 读取 权限。并将其他相关 build permissionview build definitionqueue build 设置为 allow .

Read

Can read the contents of a file or folder. If a user has Read permissions for a folder, the user can see the contents of the folder and the properties of the files in it, even if the user does not have permission to open the files.


Queue builds Can queue new builds.

View build definition Can view build definition(s).

View builds Can view builds belonging to build definition(s).

...