[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: Wed, 1 Dec 2010 12:59:11 +0100

Well, this was exactly what did not work for us because all users needed R access to /. Did you test and verify that it works?



Geir

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

From: ankush chadha [mailto:ankushchadha2003_at_yahoo.com]
Sent: 30. november 2010 15:36
To: Engebakken Geir; Joseph Isenberg; users_at_subversion.apache.org
Subject: Re: SVN Path Authorization


 [/]
*=
@Developers=rw

[/trunk/modules/moduleA/tests]
@QA=rw

Here QA group has rw access only to tests folder and nothing else.


Ankush


________________________________
From: Engebakken Geir <geir.engebakken_at_edb.com>
To: Joseph Isenberg <jisenberg_at_gmail.com>; "users_at_subversion.apache.org" <users_at_subversion.apache.org>
Sent: Tue, November 30, 2010 9:19:13 AM
Subject: RE: SVN Path Authorization
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-12-01 12:59:53 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.