Monday, March 19, 2012

TFS 2010 Gated Checkin - TF14098: Access Denied: User xxx needs Checkin, CheckinOther permission(s)

If you have enabled Gated Checkin on your souce tree, you would have seen the following properties in the build alert email:
  • Checked in on behalf of
  • Checked in by
The value for "Checked in by" is the account under which the build agent is running. The value for "Checked in on behalf of" is the user who actually checked in the changes which triggered the Gated Checkin.

If you recieve this below error during gated checkin:
TF14098: Access Denied: User xxx needs Checkin, CheckinOther permission(s) for $/TeamProject/xxx/abc.cs.

The reason is that the build agent account doesn't have permission on your source tree to checkin other user's changes

2 comments:

  1. From where to give permission ? What is the Path

    ReplyDelete
  2. You need to right click on the source tee in Source Control Explorer. Then click Properties and go to Security tab. You can then select the correponding user of group and check the Allow checkbox for Check in other usr's changes.
    The better way to do this is to see which group has the Allow permission by following the above steps. You can then add the build agent account to that group by goung to Team Explorer->Security

    ReplyDelete