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

Re: Example post commit hook denying access to existing /tags/ items (or their children)

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2003-11-14 20:51:07 CET

> Erik Huelsmann wrote:
>
> >Because there have been many complaints that Subversion allows changes to
> >its tags/ directories, I wrote the pre-commit hook below as an example
> how to
> >deny such commits, while keeping the possibility to add new items.
> >
> >I thought to submit the script here for comments. In the end it might
> find
> >it's destination in the /contrib/ directory, or as part of the example
> >pre-commit hook. More flexible versions could be coded, preferrably in
> python, but
> >admins could do that themselves too.
> >
> >So: let's have the comments please.
> >
> >
>
> tools/hook-scripts/commit-access-control.pl

Only if I added the access types of 'modify' and 'add' to it...

The script does not seem to support write-on-non-existent or
modify-if-existent modes of granting access. Or am I misunderstanding the script?

bye,

Erik.

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse für Mail, Message, More! +++
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 14 20:52:29 2003

This is an archived mail posted to the Subversion Dev mailing list.

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