Поделиться через


How to: Enable and Disable Check-in Policies

Administrators of Team Foundation source control can add check-in policy requirements. These check-in policies require the user to take actions when they conduct a check-in to source control; for example a user can be required to associate a work item with a changeset. For more information, see How to: Add Check-in Policies. Prior to enabling or disabling check-in policies, you must first create a check-in policy. For more information, see How to: Add Check-in Policies. The following procedures demonstrate how to enable or disable check-in policies for your team project.

Required Permissions

To complete this procedure, you must have the Manipulate security settings permission set to Allow. For more information, see Team Foundation Server Permissions.

Procedure

To enable a check-in policy

  1. From the Team menu, choose Team Project Settings, and then select Source Control.

  2. In the Source Control Settings dialog box, choose the Check-in Policy tab.

  3. In the policy type list, select the policy type you want to enable, and click Enable.

  4. Click OK.

To disable a check-in policy

  1. From the Team menu, choose Team Project Settings, and then choose Source Control.

  2. In the Source Control Settings dialog box, choose the Check-in Policy tab.

  3. In the policy type list, select the policy type you want to delete, and click Disable.

  4. Click OK.

See Also

Tasks

Walkthrough: Customizing Check-in Policies and Notes

Concepts

Working with Check-in Policies and Notes
Working with Source Control Changesets