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

Re: Permissions on SVN - HELP

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 17 Nov 2008 16:54:52 -0500

On Mon, Nov 17, 2008 at 16:29, Jaiswal, Nitin (CTR) 475
<Nitin.Jaiswal_at_cigna.com> wrote:
>
> Hi,
>
> I am facing issue to set the permissions for Users using SVN.
>
> I have two users, A & B.
>
> User A - has full control over Repository and all the files
>
> User B - Should be able to edit or read the file. But cannot DELETE any
> file from the repository.
>
> This is how i have set up both users in authz and passwd file
>
> Authz
> A=rw
> B=rw
>
> Passwd
> B=P1
> B=P2
>
> Please suggest what should I do to restrict B from deleting any file
> from repositoty.

Subverion natively only has 3 access levels - none, read-only, and
read/write. To implement a restriction only on delete actions, you'll
need a pre-commit hook script. Check out svnperms.py

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-17 22:55:01 CET

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

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