Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set up user permissions for Team Foundation Server 2010

We have installed TFS 2010 with success but wonder how to set the users permissions. We are small projects with five developers, a manager and a secretary. Each developer is working itself with one or more projects, we have no cooperation between any projects. We want everyone to be able to see all the code for each project, but that only those who are responsible for the code to change it. However, we want everyone to create Work Items for all projects. How should we set this up?

like image 987
magol Avatar asked Sep 08 '10 17:09

magol


People also ask

How do I give permission to user in TFS?

Right-click the folder or file for which you want to set permissions, and select Advanced > Security. In the Permissions for <folder or file> dialog box, select Add and then select Add Azure DevOps Group to set permissions for an Azure DevOps Group, or Add a user to add a Windows user or group.

How do I give access to Team Foundation Server?

Right-click the folder or file for which you want to set permissions, and then click Properties. In the Properties dialog box, click the Security tab. In the Add users and groups area, select Team Foundation Server Group to set permissions for a Team Foundation Server group. Otherwise, select Windows user or group.

How do I add a user to TFS 2010?

Connect to a team project in VS2010. In the Team Explorer menu expand your team project. Right click Team Members and select Add Team Member. From here you can add members and assign them permissions based on what they should be allowed to do on the project.

How do I add a user to the Team Foundation Admin group?

On the application-tier server, open the Azure DevOps Server Administration Console. Choose the Application Tier, and then Administer Security. Choose the [Team Foundation]\Team Foundation Administrators group. Then, select the group type and then choose Add.


2 Answers

For detailed information about TFS 2010 permissions you can check this http://msdn.microsoft.com/en-us/library/ms252587.aspx

If you want a user to be able to read the source code you have to give him/her only Read permission and to prevent him from changing code you have to deny check out and check in permissions. You can set these permissions by right clicking the folder or file in Source Control Explorer, Clicking Properties and clicking Security tab.

For Work Items you have to give WORK_ITEM_WRITE and WORK_ITEM_READ permissions. You can do by right-clicking the project in Team Explorer, clicking Areas and Iterations, and on the Area tab, clicking Security

like image 172
bahadir arslan Avatar answered Dec 06 '22 21:12

bahadir arslan


In Visual Studio, go to Team Explorer (View - Team Explorer). Right-click the root node (servername\collectionname). Go to Team Project Collection Settings. Here you have 2 options; Security, and Group Membership. Use Security to choose which users/groups can do what. Use Group Membership to add/remove users from security groups. I would recommend creating a group with limited access and add everyone to it. Then, you can right-click on a project in team explorer, go to Team Project Settings -> Group Membership. Add that group to the Readers group so everyone can read that project. Then, add those responsible for the code to the Contributors group, or even the Project Administrators group if you want them to have more power.

like image 36
Panda Avatar answered Dec 06 '22 22:12

Panda