SVN authz, route-based authentication on a trunk / branch

I use authz files to restrict access to the svn server (projA, projB). I would like to use the same restrictions for the trunk and branches. Is there a good way to do this, instead of copying / pasting configurations:

[/]<br> * = r [/trunk/projA]<br> toto = rw<br> tata = [/trunk/projB]<br> toto = <br> tata = rw [/branch1/projA]<br> toto = rw<br> tata = [/branch1/projB]<br> toto = <br> tata = rw 

Since I have many projects and branches, this configuration becomes difficult to maintain.

+4
source share
1 answer

No. The simplest solution would be to use the svnperms.py script to handle this. The problem with svnperms.py is that you cannot handle the situation so that you do not see the folder (toto =). Otherwise, you will have to process it through a copy and past.

It can make your life easier if you change your organization to:

  +-- project1 +--- trunk +--- tags +--- branches +-- project2 +--- trunk +--- tags +--- branches 

But I do not know if this is an option.

+2
source

Source: https://habr.com/ru/post/1346059/


All Articles