You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sean Aitken <se...@gmail.com> on 2006/02/28 18:42:11 UTC

Use of wildcards or regular expressiong (RegEx) in svnaccess file

Hello!

I have been championing SVN for a while now and just recently got around to
setting up the Apache server.. After a few bouts with not having the entire
svn /bin folder in the pATH, things are working well. I have SSPI (Windows)
integration working beautifully.

I searched the lists and found a couple of references, but I am still
curious on if there will be any support for adding wildcard paths to the
svnaccess file. For instance, I would like to allow a "/public_files" folder
in any subtree of any repository to be public to a group, or everyone.
Currently, I can't see a way to do it.

This is what I would imagine the config file should look like:


# Allow developers complete access to their project repos
[ITAppsProjects:/]
* =
@itappdev = rw
@admin = rw

# Secure projects
[ITAppsSecure:/]
* =
@admin = rw
@hrdev = rw

# This doesn't work!... Doh!
[ITAppsSecure:*/public_files]
* = r

# Or, this
[/public_files]
* = r


This is where I'm at. It's obviously not working.  This would make it nice
to link to public documents of a an SVN repos from anywhere. Speifically for
project documentation that isn't so secret.

Any ideas? (PS. Currently using 1.3 of SVN)

Best regards,
-Sean