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

Re: Create Tags but not Modify/Delete

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2007-03-09 19:43:54 CET

Fedor, Halina (Mission Systems) wrote:
> I wanted to find out if someone has created some scripts for Windows (in
> Perl or via a pre-commit script itself) that will enable a group of
> users the ability to create tags but not modify or delete them after
> creation. I am able to control who has the ability to write to /tags
> via the svnaccessfile but I have no way to keep folks from accidentally
> working in the tag directory and modifying stuff in there. I'd still
> like the admin user to have the ability to rename/delete tags.

The svnperms.py script
(http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/) will let you
do just that. Example syntax (found in the accompanying .conf.example):
   tags/[^/]+/ = @users(add)

I use it.

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 9 19:41:28 2007

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.