SVN Authz - Any Subfolder permission or List contents

Posted by Jaspa Jones on Server Fault See other posts from Server Fault or by Jaspa Jones
Published on 2013-07-01T22:52:01Z Indexed on 2013/07/01 23:06 UTC
Read the original article Hit count: 451

Filed under:
|
|
|

Goal

Basically I would like SVN users to be able to browse through a directory containing a lot of subfolders without allowing them to read its subfolders.

[/]
* = r

[/Projects]
* = # Allow viewing contents, but not reading. At least to be able to see Project1.

[/Projects/Project1]
my_group = rw


Problem

The problem is that there are a lot of projects. I could add every other project and make them disappear for the user, but that would be a lot of work to maintain. It would look like this:

[/]
* = r

[/Projects]
* = r

[/Projects/Project1]
my_group = rw

[/Projects/Project2]
* = 

[/Projects/Project3]
* = 

[/Projects/Project4]
* = 

[/Projects/Project5]
* = 

It would be nice if I could use this:

[/Projects/*]
* =

Any ideas?

Thanks in advance,

Jaspa Jones

© Server Fault or respective owner

Related posts about linux

Related posts about debian