[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Access rights in SVN

From: Christopher Viaggi <christopher.viaggi_at_hds.com>
Date: Tue, 18 Nov 2008 09:10:14 -0800

I believe that if you serve up your repository using only the svn
protocol you are limited by the basic server to A and D. I'm not sure if
you can do anything different when you serve it out of apache, someone
else on the list may know more about that than I. I do, however, believe
that you should be able to achieve this functionality using the backend
hooks that are native to subversion. Each time a user attempts to
perform a function there is a script run on the server where you can
abort the commit function if need be. You should be able to abort
certain functions and not others based on the action performed. For more
specifics I advise you read the docs.


From: Jain, Rajat [mailto:rajat.jain_at_fiserv.com]
Sent: Tuesday, November 18, 2008 5:42 AM
To: users_at_subversion.tigris.org
Subject: Access rights in SVN

Hi Team,


We have recently migrated our project repository from VSS to SVN. But we
are facing some problem due to access rights.

Actually we want that different combination of rights for different team
members. Let me make it more clear-


Suppose in my team we have four members namely A, B, C & D and we want
that -

* A to have read only access on repository and should not be
able to update, add or delete any document

* B should be able to read as well as update the existing
documents but should not be able to add new document or delete any
existing document.

* C should be able to read & update existing documents and
should also be able to add new documents but should not be able to
delete existing documents.

* D should be able to read, update and delete existing ones and
add new ones to repository.


We are trying to put this in place with our IT team working on it. But
IT team says that this is not at all possible with SVN. They says that
you can have either access as given to A above or access as given to D
above. According to them B & C roles as defined above are not feasible.
But I doubt?


Please first let me know whether it is possible or not? Off-course I
will need to know how but that is second part. And if you can help with
that also then you are really wonderful.


Looking forward for your response to get our repository in correct
shape. Thanks,



Rajat Jain

Whatever you can do or dream you can, Begin it. Boldness has genius,
power and magic in it.

Received on 2008-11-18 18:11:16 CET

This is an archived mail posted to the Subversion Users mailing list.