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

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

From: Christian Convey <christian.convey_at_gmail.com>
Date: 2007-09-12 19:27:43 CEST

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:21 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.