branch - TFS - 是否可以冒充某人来 checkin 更改?

标签 branch impersonation checkin

我负责合并更改并将更改提交到测试分支,但通过这样做,每次 checkin 都将标记为我作为作者。所以直到现在我都在评论中写下作者姓名。但它很丑。

签到时是否可以冒充他人?为此需要哪些安全权限?

我使用的是 Team Foundation Server 2010。

最佳答案

TFS API Part 29 – TFS Impersonation

TFS Impersonation is a feature that was introduced in TFS 2010 in order to allow a process running as User A to make web service calls to TFS in such a way that TFS thinks the actions are being performed by User B.

Using TFS Impersonation with the Version Control Client APIs

how to use the version control client APIs to create workspaces and check in files [...] with TFS Impersonation to record the check ins as if they had been done by a different user

in order for impersonation to work, the user that the process is running as must have the “Make requests on behalf of others” permission for this collection

关于branch - TFS - 是否可以冒充某人来 checkin 更改?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4898836/

相关文章:

GIT:如何保护分支不被其他开发人员删除?

git - 在 GitLab 的 CI/CD 系统中,如果作业在我的 fork 中,我如何阻止它运行,并且只允许它在 merge 到主仓库时运行?

c# - 模拟错误域中的用户不会抛出异常

当我从主干中 check out 代码时,SVN 如何将代码检入特定分支?

git - 在 Git 中处理临时更改(不提交)

asp.net - 根据经过身份验证的用户访问文件共享上的某些文件夹

c# - ASP.NET CORE 1.0,模拟

tfs - 检入货架

visual-studio-2010 - TFS 和 Visual Studio 缓慢 checkin

Git 将我的工作从某个提交移动到一个单独的分支,而不需要当前父级的更改