Search code examples
tfsazure-devopstfvc

Grant VSTS user access to create new branches


How do I grant a VSTS (TFVC) user access to create new branches from a branch? I already granted him "Manage branch" and "Merge" permissions on the ParentBranch.

When he tries to create a new branch named "ChildBranch" from "ParentBranch", he gets the following error: "TF14098: Access Denied: User needs ManageBranch permission(s) for $/ParentBranchName/ChildBranch". Basically it's complaining that the user doesn't have "Manage branch" permission on the branch that doesn't exist yet.


Solution

  • I ended up creating a folder, granting the "Manage branch" and "Merge" permissions on that folder. Then, as a matter of process, all new branches off of ParentBranch are created in that folder.