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

Re: start-commit user access scripts

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-07-01 17:27:10 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> "Sander Striker" <striker@apache.org> writes:
> > No, it is not possible to do this in a simple way yet. See this thread:
> > http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=10466
>
> Oh, whups! Forgot about that problem. Dang.
>
> I've filed new issue #775 about this, putting it in Beta for now. We
> may reprioritize it after Greg Stein gets back and can contribute to
> this. It's clear from your response in the above-referenced thread
> that this problem is not trivial...

For now, you can get finer-grained authorization control by writing a
custom pre-commit hook script.

Just have the script use 'svnlook' to examine the pending transaction
and username. The script can grep for the paths that are being
changed, and decide if the user is allowed to change them or not. If
not, have the script exit non-zero, and the commit will be aborted.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 1 17:31:47 2002

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.