cultivate passion for everything else that goes on around programming

TFS 2008 Permission Issues

No idea why, but today I was unable to give permissions to a domain user on a specific projects. Normally, all it would take is to add the user to the [Project]\Contributors group from within Visual Studio. I did that, but the user could not see the sources in Source Control Explorer. He received this error:

Either source control has not been configured for this team project or you do not have permission to access it. Would you like to create the source control folder, $/ProjectName ?

After some more experiments, I run the following command line to check his permissions for the project:

   1: tf perm $/ProjectName /r

He did not show up, like the rest of the users. So I tried to give him permissions through the command line:

   1: C:\Program Files\Microsoft Visual Studio 9.0\VC>tf perm /allow:* /server:ServerName /user:UserName $/ProjectName

After this he showed up using the first command line. Then I had to add him again to the [Project]\Contributors group and everything was fine after that.

Only problem I have right now is that I don’t know what caused all these troubles.


One response to “TFS 2008 Permission Issues

  1. V1adimir November 17, 2011 at 19:51

    Right-click on the project (in Source Control) -> Properties -> Security.
    It’s the place where you can manage TFS Source Control permissions.
    Also separate permissions can be set for folders.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: