TFS 2015 Update 1:Service Hooks权限问题 [英] TFS 2015 Update 1: Service Hooks permission issues

查看:82
本文介绍了TFS 2015 Update 1:Service Hooks权限问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我注意到"Service Hooks"的问题。项目管理员无法访问该页面的页面。

如果是"项目管理员",尝试访问"服务挂钩"页面,它收到此消息:

"您没有足够的权限查看或配置订阅"。



如果我尝试一个TFS管理员帐户,一切正常。



奇怪的是,在升级到TFS 2015之前创建的项目(使用TFS 2013创建的项目),"服务挂钩"页面适用于项目管理员。



我关注此链接:
$
https://www.visualstudio.com/en-us/docs/marketplace/integrate/service-hooks/get-started



它说:

" Q:我需要什么权限来设置订阅?

A:编辑订阅和查看订阅。 默认情况下,只有项目管理员具有这些权限。"
$


在TFS 2015 Update 1中,我无法在任何地方找到" ;编辑订阅"和"查看订阅"权限。



这是一个错误?

我如何自动向项目管理员授予此权限?



谢谢

解决方案

嗨thenewmessiah,



感谢您在此发帖。



根据我机器上的测试(TFS2015更新1,TFS2015 Update3,TFS2017),我得到了与你相同的结果。作为项目管理员但不是团队项目集合管理员的用户无法访问此页面。


作为解决方法,您可以使用命令行向用户授予权限: / p>

tfssecurity / a + / collection:[collection URL] ServiceHooks PublisherSecurity / [Project GUID]
EditSubscriptions n:" Project Administrators"允许


tfssecurity / a + / collection:[集合URL] ServiceHooks PublisherSecurity / [Project GUID]
ViewSubscriptions n:"Project Administrators"允许


要查找项目GUID,您需要在集合数据库中找到dbo.tbl_Project,然后您可以找到projectURI,如下所示:


vstfs:/// Classification / TeamProject / a7349243-adb0-4d71-be8b-c3b34d8315b9(这是GUID)


之后运行基于命令的命令在GUID上,然后用户可以访问该页面。


另一种解决方法是直接将用户添加到集合管理员。


关于此问题,您还可以将您的反馈提交到以下链接(因为TFS2017中仍然存在此问题):


https://developercommunity.visualstudio.com/spaces/22/index.html



最好的问候


Limitxiao Gao



Dear All,
I have noticed an issue with the "Service Hooks" page where Project Administrators are unable to access the page.
If a "Project Administrator" try to access to the "Service Hooks" page, it receives this message:
"You do not have sufficient permissions to view or configure subscriptions".

If I try with a TFS Admin account, all works fine.

The strange thing is that with projects created before the upgrade to TFS 2015 (projects created with TFS 2013), the "Service Hooks" page works for Project Administrators.

I'm following this link:
https://www.visualstudio.com/en-us/docs/marketplace/integrate/service-hooks/get-started

It says:
"Q: What permissions do I need to set up a subscription?
A: Edit subscriptions and View subscriptions. By default, only project administrators have these permissions."

In TFS 2015 Update 1 I can't find in any place the "edit subscriptions" and "view subscriptions" permissions.

It's a bug?
How can I grant automatically to Projects Administrators this permission?

Thanks

解决方案

Hi thenewmessiah,

Thank you for posting here.

According to the test in my machine(TFS2015 update 1, TFS2015 Update3, TFS2017), I got the same result as you. The users who is a Project Administrator but not a team project collection Administrator could not access this page.

As a workaround, you could use the command line to give the permission to the users:

tfssecurity /a+ /collection:[collection URL] ServiceHooks PublisherSecurity/[Project GUID] EditSubscriptions n:"Project Administrators" ALLOW

tfssecurity /a+ /collection:[collection URL] ServiceHooks PublisherSecurity/[Project GUID] ViewSubscriptions n:"Project Administrators" ALLOW

To find the project GUID, you need to find the dbo.tbl_Project in collection database, then you could find the projectURI like the following format:

vstfs:///Classification/TeamProject/a7349243-adb0-4d71-be8b-c3b34d8315b9(This is GUID)

After that run the command based on the GUID, then the users could access the page.

Another workaround is add the users to collection administrators directly.

About this issue, you could also submit your feedback to the following link(Because this issue still exist in TFS2017):

https://developercommunity.visualstudio.com/spaces/22/index.html

Best Regards

Limitxiao Gao


这篇关于TFS 2015 Update 1:Service Hooks权限问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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