[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: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 18 Nov 2008 16:50:54 -0500

Well, my Perl pre-commit hook script can handle "A" and "D", but not
"B" or "C". However, it shouldn't take much tweaking to get it to work
with "B" and "C". I just never did it because I never saw a need for
it. I bet the same is true for the standard Python hook.

The only problem is that renames and moves are as if you did and "Add"
and a "Delete". So, groups "B" and "C" won't be able to do renames.
Plus, group "B" won't be able to create branches or tags.

If you are a Perl nut, you can have my pre-commit hook and modify it.
If you prefer Python, take a look at the one in the contrib directory
of the Subversion repository.

--
David Weintraub
qazwart_at_gmail.com
On Tue, Nov 18, 2008 at 8:42 AM, Jain, Rajat <rajat.jain_at_fiserv.com> wrote:
> 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,
>
>
>
> Regards,
>
> Rajat Jain
>
> Whatever you can do or dream you can, Begin it. Boldness has genius, power
> and magic in it.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-18 22:51:14 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.