Solved

TFS Administration.

Posted on 2008-10-13
2
735 Views
Last Modified: 2012-06-21
Do we need to have TFS admin rights or Project Admin rights to Add Check-in Policies?
0
Comment
Question by:raju4info
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
Harves_7_1_user earned 125 total points
ID: 22710927
Visual Studio Team Foundation Server allows you to create a custom check-in, including:

Creating Check-in Notes Templates and Requirements

You can define your own fields for collecting check-in related information and that require certain pieces of information be specified by users during the check-in process. This information, similar to a check-in comment, is persisted with other changeset details and included in the e-mail that is delivered to other team members.

Defining Check-in Policies

You can define custom check-in rules to enforce restrictions upon the types of changes that can be committed to the source control server. For example, a project administrator can define rules to validate source changes prior to committing them to the server. Team Foundation ships with check-in policies for validating that work items are associated with changes, unit tests pass successfully, and static analysis has run cleanly on source code. These policies are extensible via a plug-in model so that you can enforce requirements of a different kind simply by creating a new policy plug-in. The check-in policies that are applied to your team project will depend on which MSF process is used by the team project. For more information, see Finding and Using Process Guidance.

REQUIRED Permissions
- you must have the Check out and Edit server-level information permissions set to Allow.

Server-Level Permissions
You can set these permissions in Team Foundation Server by right-clicking the server in Team Explorer and clicking Security

Permission Name  
 GENERIC_WRITE

Name at command line  
tf: AdminConfiguration
tf: AdminConnections

Description  
 Users who have this permission can edit server-level permissions for users and groups on Team Foundation Server. They can add or remove server-level Team Foundation Server application groups from Team Foundation Server. When set through the menus, the Edit server-level information permission also implicitly allows the user to modify source control permissions. To grant all the above permissions from the command line, you must use the tf.exe Permission command to grant the AdminConfiguration and AdminConnections permissions as well as GENERIC_WRITE.

Source Control Permissions
You can set these permissions by right-clicking the folder or file in Source Control Explorer, clicking Properties, and on the Security tab, selecting the user or group for which you want to change permissions, and editing the permissions listed in Permissions.

Permission Name
Check out

Name at Command Line
 tf: PendChange

Description
 Users who have this permission can check out and make a pending change to items in a folder. Examples of pending changes include adding, renaming, deleting, undeleting, branching, and merging a file.
 
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question