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

AuthzSVNAccessFile question

From: Gerhard Gappmeier <gerhard.gappmeier_at_ascolab.com>
Date: Tue, 13 May 2008 10:47:09 +0200

Hello

I've a question regarding the user access management using Apache
and the AuthzSVNAccessFile access.conf.

Given the following sample repos structure 'sample':
tags/
branches/
trunk/
trunk/a/
trunk/b/
trunk/c/

I want a user 'foo' to fully access the folder trunk/b/ but not to all
other directories.
I've seen that the user also needs access to the trunk/ folder,
otherwise he cannot access the subfolder trunk/b/.

The problem is then he also has access to trunk/a and trunk/c due to the
recursive configuration behavior.
I can switch off access to this folders explicitly by doing so:

[sample:/]
foo = r

[sample:/trunk/b]
foo = rw

[sample:/tags]
foo =

[sample:/branches]
foo =

[sample:/trunk/a]
foo =

[sample:/trunk/c]
foo =

But this is realy hard to maintain, especially when I'm adding new
folders I've to keep the acces.conf uptodate.

Is there a better solution for doing that?

--
regards,
Gerhard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-13 10:47:35 CEST

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.