Monday, March 19, 2012

Setting up quick path based access on SVN server or repository

From a post I found somewhere on the web:

In your svn\repos\YourRepo\conf folder you will find two files, authz and passwd. These are the two you need to adjust.
In the passwd file you need to add some usernames and passwords. I assume you have already done this since you have people using it:
Then you want to assign permissions accordingly with the authz file:
Create the conceptual groups you want, and add people to it:
allaccess = user1
someacces = user2,user3
Then choose what access they have from both the permissions and project level.
So let's give our "all access" guys all access from the root:
@allacces = rw
But only give our "some access" guys read-only access to some lower level project:
@someaccess = r
You will also find some simple documentation in the authz and passwd files.


Post a Comment