本文介绍了防止在TFS 2015 GIT Pull Request中删除评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法阻止用户删除添加到代码行或TFS 2015中GIT Pull Request的Discussion部分的注释?似乎审阅者可以删除其他审阅者的注释,这使得打开Pull请求的人
可以将自己添加为审阅者,删除在他们自己的Pull请求上发表的任何注释,然后将其自身删除为审稿人。这些行动也没有明显的历史。


拉动请求的所有者似乎也可以改变"状态"。由与特定代码行相关联的其他人发表的评论"已解决"。除了审稿人之外,任何人都不应该允许这样做。

解决方案

Is there a way to prevent users from deleting comments added either to a line of code or to the Discussion section of a GIT Pull Request in TFS 2015? It appears that reviewers can delete the comments of other reviewers which makes it possible for the person who opened a Pull Request to add themselves as a reviewer, delete any comments made on their own Pull Request, and then remove themselves as a reviewer. There is no evident history of these actions either.

It also appears that owners of a Pull Request can change the "Status" of comments made by other people associated with specific lines of code to "Resolved". This doesn't seem like it should be allowed by anyone but a reviewer.

解决方案


这篇关于防止在TFS 2015 GIT Pull Request中删除评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 20:54