TFS 扩展 - 限制对集线器组的访问 [英] TFS extension - Restrict access to a hub group

查看:28
本文介绍了TFS 扩展 - 限制对集线器组的访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 JavaScript 为 TFS(Team Foundation Server)开发一个扩展,特别是 2017 版.

在这个扩展中,我添加了一个集线器组(见下图)

但是,该中心组应该只能对某些用户访问/可见.我该如何实现?我一直无法在 TFS 扩展教程和文档中找到此功能.

解决方案

抱歉,无论是扩展端还是权限端都不行.即使使用内置中心组,例如代码/工作/构建和发布.也无法直接隐藏集线器组.除非您更改访问级别.

<块引用>

为需要输入错误的用户分配利益相关者访问权限,查看积压工作、看板、图表和仪表板,但没有TFS 校准.利益相关者还可以查看发布和管理发布批准.利益相关者访问是免费的.

源链接:

有关功能的详细信息,请参阅利益相关者访问利益相关者可用.

大多数扩展要求用户至少具有基本访问权限,而不是利益相关者.

<小时>

就您而言,我不建议您直接更改用户访问级别.因为他也会失去之前拥有的其他功能.作为一种解决方法,可以禁止他查看或使用您在 TFS 上的集线器组/集线器下的内容.这是另一个称为权限 在 TFS 中.

例如,您可以拒绝分支/文件夹级别的读取权限

<块引用>

阅读

可以读取文件或文件夹的内容.如果用户已阅读文件夹的权限,用户可以看到文件夹的内容以及其中文件的属性,即使用户没有打开文件的权限.

I am developing an extension for TFS (Team Foundation Server), specifically version 2017, using JavaScript.

In this extension, I am adding a Hub Group (see picture below)

However, this Hub Group should only be accessible/visible to certain users. How do I accomplish this? I have not been able to find this feature in the TFS extension tutorials and documentation.

解决方案

Sorry, it's impossible either from extension side or permission side. Even with the build-in hub group such as Code/ Work /Build and Release. There is also not able to directly hide the hub group. Unless you change the access levels.

Assign Stakeholder access to those users who need to enter bugs, view backlogs, boards, charts, and dashboards, but who don't have a TFS CAL. Stakeholders can also view releases and manage release approvals. Stakeholder access is free.

Source Link: About access levels

See Stakeholder access for details of features available to stakeholders.

Most extensions require that users have at least Basic access, not Stakeholder.


In your case, I will not suggest you directly change the user access level. Since he will also lose other features he had before. As a workaround, it's able to forbid him to see or use the things under hub group/hub you have on TFS. This is another concept called Permissions in TFS.

For example, you could be able to deny the Read permission for branch/folder level

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.

这篇关于TFS 扩展 - 限制对集线器组的访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆