Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN Branch level commit permissions

Tags:

svn

We have multiple development branches and want to restrict commits to a particular branch to only a specific group of developers.

Is it possible to restrict access at a branch level in SVN?

like image 814
Vishal Avatar asked Sep 23 '09 21:09

Vishal


People also ask

How do I commit to a branch in SVN?

In order to do that, you only need to follow three steps: Create a new branch in which you will commit your changes. Switch your current working copy to this new branch. Commit your changes to the new branch.

Does SVN support branching?

Subversion Branching StrategiesSubversion branches (SVN branches) allow your team to work on multiple versions of your code simultaneously. Developers can test out new features without impacting the rest of development with errors and bugs. SVN's “branch” directory runs parallel to the “trunk” directory.


1 Answers

Yes it is. You must configure in the svn config file called authz, located in the repository folder or directory. You can specify specific permissions by doing the following:

[/branches/branch-name]
harry = rw
sally = r

Hope it helps.

like image 185
Sebastian Avatar answered Oct 20 '22 02:10

Sebastian