TFS: Restrict users to Source Control and Deny access on Work Items, Build, Test

 

You can use Visual Studio follow the steps below to create a new group that only allows user to use source control and prevent viewing Work Items, Build, and Test features.

1. Create a New Group

a. Right Click on the Project, go to Team Project Settings è Group Membership

clip_image001[4]

b. Click on New button

clip_image002[4]

c. Enter the name of your choice as  (“Only Source Control Users”)

clip_image003[4]

d. Click “OK” and the TFS group is created

clip_image004[4]

2. Assign/Deny Permissions

a. Deny permissions on Work Items

     i. Click on the Areas and Iterations

       clip_image005[4]

    ii. Click on Security

        clip_image006[4]

    iii. Select Team Foundation Server Group and Click on “Add”

         clip_image007[4]

     iv. Select the Group “Only Source Control Users

          clip_image009[4]

       v. Deny all the permissions – provide below:

            clip_image010[4]

        vi. Click on “Close”.

b. Deny permissions on Build

        i. Repeat the similar steps after selecting the “Build

           clip_image011[4]

c. Assign permissions to view Project Level Information

         i. Select Project è Team Project Settings è Security

            clip_image012[4]

          ii. Select the Group and make sure the permissions as set as given below:

              clip_image013[4]

3. Assign Users to the Groups as normal. Now the user will only have access on the Source Control and not on Build and Work Items.