locked
Only project creator can access documents folder? RRS feed

  • Question

  • We just installed for the first time TFS 2008 with SP1, and I have noticed that nobody except the person who creates a project in Team Explorer can access or see any of the documents and sub-folders created in the "documents" folder for the project -- everybody else just sees a red X over the folder in Team Explorer, regardless of their permission rights to the project.

    Does anyone know how I can get the documents folder "unlocked" for other users?
    Wednesday, May 6, 2009 10:15 PM

Answers

  • TFS administration involves securing not only TFS server itself, but Sharepoint and Reporting Services sites as well. Besides the rights granted for TFS, you have to grant access to these users for the sharepoint portal. And even if you haven't run into problems with reporting yet, you'll realize sooner or later that you need to grant access to these users for the reporting services site as well.

    Follow the steps outlined here (it's for 2005 but the procedure is the same for 2008):

    http://msdn.microsoft.com/en-us/library/bb668968.aspx

    You can also have a look at TFS Admin tool, maybe it'll save you some time for these tasks:

    http://tfsadmin.codeplex.com/

    Hope it helps

    Best regards
    • Proposed as answer by Bill.Wang Thursday, May 7, 2009 10:16 AM
    • Marked as answer by Irinotecan Tuesday, May 12, 2009 10:13 PM
    Thursday, May 7, 2009 12:05 AM
  • To clarify exactly how to do this (in case any other TFS newbies get stuck), after you have created your project:

    • Go to the Sharepoint site for your project, typically something like:  http://tfs-server-name/Sites/ProjectName
    • Under Site Actions in the upper right hand corner, select Site Settings
    • Click the People and Groups link
    • Click the Site Permissions link
    • Click New
    • Type in a domain user or group
    • Check the level of access the user or group should have under the Give Permission section
    • Click OK
    The non-project creator user(s) should now be able to see the contents of the Documents folder under the TFS Explorer tab in Visual Studio
    • Marked as answer by Irinotecan Tuesday, May 12, 2009 10:23 PM
    Tuesday, May 12, 2009 10:23 PM

All replies

  • TFS administration involves securing not only TFS server itself, but Sharepoint and Reporting Services sites as well. Besides the rights granted for TFS, you have to grant access to these users for the sharepoint portal. And even if you haven't run into problems with reporting yet, you'll realize sooner or later that you need to grant access to these users for the reporting services site as well.

    Follow the steps outlined here (it's for 2005 but the procedure is the same for 2008):

    http://msdn.microsoft.com/en-us/library/bb668968.aspx

    You can also have a look at TFS Admin tool, maybe it'll save you some time for these tasks:

    http://tfsadmin.codeplex.com/

    Hope it helps

    Best regards
    • Proposed as answer by Bill.Wang Thursday, May 7, 2009 10:16 AM
    • Marked as answer by Irinotecan Tuesday, May 12, 2009 10:13 PM
    Thursday, May 7, 2009 12:05 AM
  • To clarify exactly how to do this (in case any other TFS newbies get stuck), after you have created your project:

    • Go to the Sharepoint site for your project, typically something like:  http://tfs-server-name/Sites/ProjectName
    • Under Site Actions in the upper right hand corner, select Site Settings
    • Click the People and Groups link
    • Click the Site Permissions link
    • Click New
    • Type in a domain user or group
    • Check the level of access the user or group should have under the Give Permission section
    • Click OK
    The non-project creator user(s) should now be able to see the contents of the Documents folder under the TFS Explorer tab in Visual Studio
    • Marked as answer by Irinotecan Tuesday, May 12, 2009 10:23 PM
    Tuesday, May 12, 2009 10:23 PM