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

AuthzSVNAccessFile question ...

From: Jamie Risk <jamie_at_panacis.com>
Date: 2007-06-04 22:36:05 CEST

Is it possible in the AuthzSVNAccessFile to specify wildard
directories? Where can I find more precise documentation than
"http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.
serverconfig.httpd.authz.perdir"
Or
"http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.
html"
 
In our repository, each sub project has a consistent directory
structure, say:
   proj-1/head
   proj-1/tag
   proj-1/branch
   proj-2/head
   proj-2/tag
   proj-2/branch
 
and as an example I'd like to implement a different global policy
for each subdirectory "head", "tag", and "branch".

Without the ability to restart the Apach server willy-nilly, is this
format acceptable and even understood?

#AuthzSVNAccessFile start
#------------------------
   [/]
   * = r

   # try to match on "*/head"!
   [head]
   @developers = rw
   @dev-admin = rw
 
   # try to match on "*/branch"!
   [branch]
   @dev-admin = rw

   # try to match 'user_a' to his own directory ("*/tag/user_a")
   [tag/user_a]
   user_1 = rw

   # try to match 'user_1' to his own directory ("*/tag/user_b")
   [tag/user_b]
   user_b = rw

#------------------------
#AuthzSVNAccessFile stop

- Jamie

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 4 22:48:08 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.