在“Service Hooks”选项卡上的Visual Studio Team Services中,我们的一些项目团队成员收到一条消息,指出“您没有足够的权限来查看或配置订阅” .
为了给定项目创建服务挂钩,需要分配哪些权限或组?
您需要将用户添加到Project Administrators或Project Collection Administrators组 .
出于某种原因,在TFS 2017 RTM上,一些项目的项目管理员可以创建服务挂钩而有些项目不能 .
我必须从tfssecurity.exe运行以下命令:
tfssecurity /a+ /collection:[TFS_Collection_URL] ServiceHooks PublisherSecurity/[Project_GUID] EditSubscriptions n:"[User_ID]" ALLOW tfssecurity /a+ /collection:[TFS_Collection_URL] ServiceHooks PublisherSecurity/[Project_GUID] ViewSubscriptions n:"[User_ID]" ALLOW
更多信息:
Rest API on getting Project GUIDS
MS TFS Service Hook Q/A
MSDN forums: What permissions do I need to set up a subscription
2 回答
您需要将用户添加到Project Administrators或Project Collection Administrators组 .
出于某种原因,在TFS 2017 RTM上,一些项目的项目管理员可以创建服务挂钩而有些项目不能 .
我必须从tfssecurity.exe运行以下命令:
更多信息:
Rest API on getting Project GUIDS
MS TFS Service Hook Q/A
MSDN forums: What permissions do I need to set up a subscription