Solved

TFS Administration.

Posted on 2008-10-13
2
717 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now