Team System Developer Center > Visual Studio Team System Forums > Team Foundation Server - Administration > Why must a user be able to delete the entire TFS project in order to change the name of a team query?
Ask a questionAsk a question
 

AnswerWhy must a user be able to delete the entire TFS project in order to change the name of a team query?

  • Tuesday, October 27, 2009 4:31 PMHåkan Canberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Referring to http://msdn.microsoft.com/en-us/library/ms181348.aspx :
      "To save a query as a team query, you must be a member of the Project Administrators group"

    We're running TFS 2008. Is that statement the full truth? Is that the only way to grant a user to be able to save a team query? No command line that can grant the user the rights without adding it to the Proj Admin group?

    Project Administrators is the only group with full access rights to the project, such as beeing able to delete the entire project. I can't see why I would want my project managers to be able to accidentally do something they shouldn't be able to do.

    I haven't had time to check Beta 2 of TFS 2010 yet, but is the same true for that version? I hope not. I hope I can create my own roles that can be fully customized, so that I can create a Project Manager role that can administer iterations/areas/queries/etc. but not delete the project, or elevate user access. For us managing user rights and adding/removing projects is a different role than as a project manager manage the project.

Answers

  • Tuesday, November 03, 2009 5:07 PMHåkan Canberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Update: The VS 201 Beta 2 Team responded:
    "The functionality that you describe has been included in Team Foundation Server 2010, which is available as a Beta2 download.

    What we provide in 2010, is the Query Folders feature. This allows you to create folders under "Team Queries", and then grant specific permissions to create sub-folders or queries under those folders. This eliminates the need for someone to be a Team Project Administrator in order to create a team query."

All Replies

  • Wednesday, October 28, 2009 7:57 AMHongye SunMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello Hakan,

    Thanks for reporting this issue.

    I am afraid that this limitation is mandatory. TFS will first check if the user is a project administrator before saving a Team Query. Even the user has been assigned to all project permissions, he can't do the operation if he is not a project admin. The same in TFS 2010 Beta2.

    I'd like you to report a suggestion to http://connect.microsoft.com and product group will put it into consideration in the future.

    Thanks for your invaluable feedback.

     

    Hongye Sun [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Wednesday, October 28, 2009 12:55 PMJason BarileMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    An alternative we've used internally is to save .wiq files in a Sharepoint folder on the team portal.  Then you can manage permissions to read/write to that folder independent of the Project Administrators group membership.
  • Wednesday, October 28, 2009 2:22 PMHåkan Canberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for your feedback. I've added a suggestion to the VS 2010 Beta 2.
  • Tuesday, November 03, 2009 5:07 PMHåkan Canberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Update: The VS 201 Beta 2 Team responded:
    "The functionality that you describe has been included in Team Foundation Server 2010, which is available as a Beta2 download.

    What we provide in 2010, is the Query Folders feature. This allows you to create folders under "Team Queries", and then grant specific permissions to create sub-folders or queries under those folders. This eliminates the need for someone to be a Team Project Administrator in order to create a team query."