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

Re: ACLs and user rights with Subversion?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-10-09 17:16:33 CEST

On 10/9/06, Ron Olson <tachoknight@gmail.com> wrote:
> Hi all-
>
> I was thinking of building my own access control list into subversion using
> the hook scripts, so I could provide browse to anyone but commit access to
> only a few, and was wondering if there was already an existing standard on
> the "proper" way to do this using svn already, or if some one has already
> implemented this idea. It doesn't seem all that hard to do, so I figured
> someone else must have beaten me to the punch, but ironically a google
> search does not seem to find anything specific...just a lot of mention of
> the subversion access file.

The Subversion access file already does what you're asking for, if I
understand the question right. See
http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir
(also applies to svnserve as of 1.3).

If you still need/want the hook script, I think this has already been
written for you. Have a look at svnperms.py
http://subversion.tigris.org/tools_contrib.html#hook_scripts

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 9 17:17:14 2006

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.