Udostępnij za pośrednictwem


How to: Enable and Disable Check-In Policies

Administrators of Team Foundation version 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. On the Team menu, click Team Project Settings, and then click Source Control.

  2. In the Source Control Settings dialog box, click 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. On the Team menu, click Team Project Settings, and then click SourceControl.

  2. In the SourceControlSettings dialog box, click 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 Version Control Changesets