简体   繁体   中英

Disable TFS check-in permissions at the server or collection level

I want to deny/restrict users from checking-in/out files in TFS. We are using TFVC with 2017.1 TFS.

I know I can do this at project level but that will be cumbersome as we have 200 projects. Is this something doable at root or collection level. I just want Collection administrators to have access but no one else.

Navigate to the Security page for any of your Team Projects in the collection, like:

https://account.visualstudio.com/project-name/_settings/repositories?itemPath=%24%2Fproject-name

Then change the itemPath to $/ . That should bring up the security page for the whole collection:

https://account.visualstudio.com/project-name/_settings/repositories?itemPath=%24%2F

在此处输入图像描述

Screenshot from Azure DevOps, I no longer have TFS 2017 at hand.

Or use Team Explorer's Source Control Explorer to get to the Security dialog inside Visual Studio.

在此处输入图像描述

Set the appropriate denies here and that should cascade down.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM