You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Fedor, Halina (Mission Systems)" <Ha...@ngc.com> on 2007/03/09 18:34:00 UTC

Create Tags but not Modify/Delete

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.

We are currently using Windows, and Apache for the server on v. 1.4.3 of
Subversion & Tortoise.

Thanks!
Halina Fedor

Re: Create Tags but not Modify/Delete

Posted by Nathan Kidd <na...@spicycrypto.ca>.
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