如果重命名Team Project,Team Project ServiceHooks EventSubscription权限会中断 [英] Team Project ServiceHooks EventSubscription permissions break if you rename the Team Project

查看:110
本文介绍了如果重命名Team Project,Team Project ServiceHooks EventSubscription权限会中断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我不确定是否有人观察到此情况或面对此问题,但我可以观察团队项目关于事件订阅的权限(用于ServiceHooks)如果重新命名了团队项目,我们就会中断 - 我们在TFS 2015和TFS 2017中已经看到了这一点。我们可能需要明确地向团队项目管理员授予事件订阅权限以查看/编辑它们。


我认为这里的问题是重命名功能和数据库中的相应引用,项目重命名不是重命名"项目名称"。在数据库和项目管理员组中引用新项目名称
标记" [新项目名称] \Project管理员"需要ServiceHooks上的ViewSubscription和EditSubscription权限。


是否还有其他人观察到这一点并且是否有永久修复?


<我们通过重新运行TFSSecurity来解决此问题,以便为以下缺少的服务授予访问权限


Tfssecurity / a + / collection:https:// tfs:8181 / tfs / collection1 ServiceHooks PublisherSecurity / dac76be2-1295-482d-bcaf-cf1bwew75e10 ViewSubscriptions n:"[New Project Name] \Project Administrators"允许

Tfssecurity / a + / collection:https:// tfs:8181 / tfs / collection1 ServiceHooks PublisherSecurity / dac76be2-1295-482d-bcaf-cf1bwew75e10 EditSubscriptions n:" [New Project Name] \项目管理员"允许





谢谢


Anirudh




AK

解决方案

嗨AK,


>>但是如果团队项目被重命名,我可以观察团队项目关于事件订阅(用于ServiceHooks)的权限


<请问您能否提供一些观察步骤?


我试图重命名一个团队项目,之后我的服务挂钩工作正常。


最好的问候


Hi,

I am not sure if anyone has observed this or faced this, But I could observe the Team Project permissions with regard to Event Subscriptions (used for ServiceHooks) break if a Team Project is renamed - We have seen this in TFS 2015 and in TFS 2017. We might need to explicitely grant the permissions for the Event Subscriptions to the Team Project Adminsitrators to view/Edit them.

I believe the issue here is with the rename functionality and the corresponding references in the Database, The Project rename is not renaming the "Project Name" in the Database and the Project Administrators group referenced with new Project name Tag "[New Project Name]\Project Adminitrators" would need the ViewSubscription and EditSubscription rights on ServiceHooks.

Has anyone else observed this and is there a permanent fix?

We worked around this issue by rerunning the TFSSecurity to grant access for the missing services like below

Tfssecurity /a+ /collection:https://tfs:8181/tfs/collection1 ServiceHooks PublisherSecurity/dac76be2-1295-482d-bcaf-cf1bwew75e10 ViewSubscriptions n:"[New Project Name]\Project Administrators" ALLOW
Tfssecurity /a+ /collection:https://tfs:8181/tfs/collection1 ServiceHooks PublisherSecurity/dac76be2-1295-482d-bcaf-cf1bwew75e10 EditSubscriptions n:"[New Project Name]\Project Administrators" ALLOW


Thanks

Anirudh


AK

解决方案

Hi AK,

>>But I could observe the Team Project permissions with regard to Event Subscriptions (used for ServiceHooks) break if a Team Project is renamed

Could you please provide the steps of how you observe this?

I tried to rename a team project, after this, my service hook worked fine.

Best Regards


这篇关于如果重命名Team Project,Team Project ServiceHooks EventSubscription权限会中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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