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

Re: dav_svn.authz : how to "wildcard" a rule?

From: Bjørnar Skinnes <bskinnes_at_broadpark.no>
Date: 2007-09-12 23:01:30 CEST

I was just searching on this exact problem myself, found some useful
patch here: http://svn.haxx.se/dev/archive-2005-02/0631.shtml
but if you look at the replies, the patch dissected and found under par.
But it might do the trick if you are a daredevil?
-Bjørnar

Christian Convey wrote:
> In a project I'm administrating, I've been asked to ensure that a
> certain directory is only visible to certain individuals. For this
> discussion I'll call it "/foo/bar/".
>
> But in our project, we're encouraging people to use branches. So I
> want "/foo/bar" to be restricted regardless of whether it's actually
> "/trunk/foo/bar" or "/branches/bug123/foo/bar".
>
> Is there any *good* way I can do this that doesn't require me to edit
> my dav_svn.authz file every time someone wants to create a branch?
>
> I guess I could maybe do it with hooks, but I'd much rather be able to
> put something in my .authz file that looks like:
>
> [my-repos:*/foo/bar]
> * =
> spider_man = rw
>
> Any suggestions?
>
> - Christian
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 12 23:54:19 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.