1
votes

I have Visual studio 2010 installed on windows7 machine, also i have recently installed TFS2012 on same machine. After installation of TFS2012 i am facing issues like first i was not able to create team project through Team explorer IDE of Visual studio 2010. I searched on internet and found that i need to install either VS2012 SP1 or Team Explorer2012 to solve this problem. After installation of Team Explorer2012 i am able to create new team project.

My Windows7 machine users details : There is a default System Administrator account,a User named USER1 have system admin and TFS admin rights and one more user USER2 not having Administrator rights.

I am able to create new team project\adding project to source control, any type of administrator task with user USER1.

My problem is that i am not able to add user of [PROJECTNAME\CONTRIBUTORS], I performed the following steps : In Team explorer Team Project Settings -> Group Memberships -> [PROJECTNAME\CONTRIBUTORS] ->Properties Now in current opened window Add button is disabled, so cause in failing of adding a add user to this group. Actually, i want to assign rights to another user USER2 as contributors to team project.

Scenario that i want is like : User1 : is able to create team project and have all administrator right of team project. User2 : should be able to checkin/checkout any file of team project

Any help will be appreciated.

3

3 Answers

0
votes

Since you are running TFS from Windows 7 and not a Windows Server OS then you will have to add local users in order for them to access TFS. This is because you are working from a workgroup and not a domain.

Managing Team Foundation Server in a Workgroup

Here is a similar question on stackoverflow that will help as well.

As a side note, there is a tool on codeplex that can help you assign permissions to users or groups and makes managing permissions very easy.

Team Foundation Server Administration Tool

0
votes

If you have made permission changes since you started Visual Studio, I would highly recommend that you restart Visual Studio. Team Explorer frequently "freaks out" when permission changes in TFS are executed and starts denying you access to things you actually have permission to. If USER1 is a TFS admin then there is no reason that you shouldn't be able to manage users from Visual Studio.

0
votes

I found a better way to deal with the problem of adding users. This works without the TFS administration tool.

First create a new group (e.g. "TFS Users") in the administration console. Then you will be able to assign any users to this group.

Now move to a team project and go to security settings. You can now see all the users that have been assigned and set permissions to them.