Team System Developer Center > Visual Studio Team System Forums > Team Foundation Server - Version Control > Obtain information about which users can perform check-out and check-in to the Source Control (Permission Related)
Ask a questionAsk a question
 

AnswerObtain information about which users can perform check-out and check-in to the Source Control (Permission Related)

  • Saturday, October 31, 2009 12:12 AMhadi i teo Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    My general objectives are to create groups to control the check-in as well as check-out permissions. Here are my questions
    1) Is there any ways to let users check out from the source control but prevent them from check-in ? This permission is required to prevent un-authorized users to alter the source control without being validated with a person. Validation may include source code review.

    2) Is there any ways to prevent users not being able to check-out the source code, but able to read ?

    Regards,

    hadi teo

Answers

  • Saturday, October 31, 2009 3:44 AMJehan33 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Hadi,

    Yes, you can create groups with above requirments for both TFS Server and TeamProject level.

    Go to Team Explorer-->Right Click TFSServer/TeamProject -->TFSSettings/TeamProjectSettings-->Create a new group-->Add the users

    Then Go to Source Control-->RightClick TFSServer/TeamProject-->Properties-->Security-->Add the user group which you had created-->choose the group-->under permission windows check the box for allow an deny depending upon the permission you want to give to users.

    for ex: If you just want to give read just choose Read permission as Allow.

All Replies

  • Saturday, October 31, 2009 3:44 AMJehan33 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Hadi,

    Yes, you can create groups with above requirments for both TFS Server and TeamProject level.

    Go to Team Explorer-->Right Click TFSServer/TeamProject -->TFSSettings/TeamProjectSettings-->Create a new group-->Add the users

    Then Go to Source Control-->RightClick TFSServer/TeamProject-->Properties-->Security-->Add the user group which you had created-->choose the group-->under permission windows check the box for allow an deny depending upon the permission you want to give to users.

    for ex: If you just want to give read just choose Read permission as Allow.
  • Monday, November 02, 2009 9:24 AMRuiz YiModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi hadi ,

    In addition to Jehan, after you create a group, you can set the source control level permission like Read, Check-in, and Check out

    Open Source Control Explorer, right click project or a sub folder,  property -> Security.

    Best Regards,
    Ruiz
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Sincerely, Ruiz Yi