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

Re: Making Tags Read-Only?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-04-02 23:07:25 CEST

On Fri, 2004-04-02 at 15:04, Steve wrote:
> I realize that in SVN a tag and a branch are essentially the same thing. In
> the book I believe it mentions that tags can only be created, but not
> modified, and to use an access-control script provided by SVN to limit
> access. Where can I find this script? All I have been able to do so far is
> configure read/write access to SVN(hosted through Apache). Is there a
> special key letter(r = read, w = write, ? = create) to use to grant only
> create and read permissions?

To control access on directories in a repository, your options are:

  * use mod_authz_svn. it only understands read/write, not "create".

  * use a pre-commit hook script to control write access. There are at
least two prewritten scripts for this, commit-access-control.pl and
svnperms.py, both in /trunk/tools/hook-scripts:

    http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 2 23:09:24 2004

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.