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

RE: SVN Path Authorization

From: Engebakken Geir <geir.engebakken_at_edb.com>
Date: Tue, 30 Nov 2010 15:19:13 +0100

I had the same problem when I set up SVN1.5.x (way back then). Could not get arounf the fact that users needed R-access to root of repos, so I ended up with something like the following to prevent users from having R-access to entire repos.:

[repo:/]
@admin = rw
*=r

[repo:/projects/Project1/subProject1]
@project1_subproject1Developers = rw
~project1_subproject1Developers =

The ~ is a negation, meaning "all users not in the group"

Geir

Note : All inquiries regarding Subversion, MKS and general Development servers should be directed to "EDB SourceControl System"

From: Joseph Isenberg [mailto:jisenberg_at_gmail.com]
Sent: 27. oktober 2010 16:19
To: users_at_subversion.apache.org
Subject: SVN Path Authorization

Can I set up an AuthZSVNAccessFile that doesn't allow read to the root, but does allow read an read/write to sub-paths. I want something like this:

[repo:/]
@admin = rw

[repo:/projects/Project1]
@project1_admin = rw

[repo:/projects/Project1/subProject1]
@project1_subproject1Developers = rw

I would then give the devs the url to the subproject and they could check that out. I'm pretty sure I've done something like this in the past, but now it won't let me check out unless I have read access to the parent paths.

Thanks for any help.
Joseph Isenberg
Received on 2010-11-30 15:19:56 CET

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.