TFS 2018 Project Folder Permissions

785 Views Asked by At

I am having trouble finding a feature that was in TFS2015.

In TFS2015 i could set folder and file level securty, but i can't find that option in TFS2018. Has this feature moved, or been removed?

TFS2015:

TFS2015

TFS2018:

TFS2018

1

There are 1 best solutions below

0
On BEST ANSWER

This isn't due to a difference between versions of TFS, it's due to differences between TFVC and Git.

In the first screenshot (TFS 2015) you are working within a TFVC repository, in the second (TFS 2018) a Git repository.

TFVC and Git have different security models so it's not possible to lock down a specific path in a Git repo like you do in TFVC. With Git repos in TFS you could either:

  1. Apply permissions to a branch
  2. Or, if you want to lock down changes to a specific path in a branch is to switch on branch policies and use the code reviewer policy to require a reviewer to approve changes in a specific path of your code base.