TFS Security Command for Git Branch Permission RRS feed

  • Question

  • I am implementing the TFS Security commands to change a git master branch acess control permissions to DENY for contribute field.

    Below is the command I am using:

    /tfssecurity.exe /a+ GitRepositories repositories/[543473b8-6186-42b3-bdab-b22bc44cc8f8/] GenericContribute n:'"[Projectname]\TFSGroup'" DENY /collection:CollectionURL"

    I am using powershell 3.0 for this project and I get the error: The security namespace GitRepositories does not exist.

    Could someone help me with this?

    • Edited by AkhiD Friday, May 27, 2016 3:31 PM
    Tuesday, May 24, 2016 8:54 PM