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

Subversion 1.3: svnserve access control: distinction between create/delete/write access possible?

From: Holger Rauch <holger.rauch_at_heitec.de>
Date: 2006-01-31 15:48:06 CET

Hi!

Is it possible to do the above with Subversion's 1.3 svnserve?

My idea is that I want to restrict access to subdirs below the "tags" subdir
in the following manner:

- allow a user to create and delete dirs below tags
- prevent a user from modifying contents below the newly created dir below
  tags (except for the initial creation)
- deletion of contents below the newly created dir should only be possible when
  the directory holding the contents is deleted as well.

Example:

- tags/TEST
  (user should be allowed to create and delete dir)

- tags/TEST/src
  (user should be allowed to create and add files to it (and all other subdirs
  below "TEST" and their files exactly once)
  (Deletion of subdirs/files below TEST should be OK when "TEST" itself is
  deleted).

(The aim is to enforce that tags are snapshots, and that these snapshots
remain immutable).

- Is this possible with the new svnserve?

- If not, can svnperms.py take care of such a scenario?

- If that's not the case and someone on this list has a hook script for
  something like this, I would certainly be interested ;-)

Thanks in advance!

Kind regards,

        Holger

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 31 15:59:53 2006

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.