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

RE: Limited subdirectory access

From: K F <cmkforce_at_yahoo.com>
Date: Tue, 31 Jan 2012 05:22:15 -0800 (PST)

--- On Tue, 1/31/12, Cooke, Mark <mark.cooke_at_siemens.com> wrote:

> From: Cooke, Mark <mark.cooke_at_siemens.com>
> Subject: RE: Limited subdirectory access
> To: "K F" <cmkforce_at_yahoo.com>, "users_at_subversion.apache.org" <users_at_subversion.apache.org>
> Date: Tuesday, January 31, 2012, 9:25 AM
> > -----Original Message-----
> > From: K F [mailto:cmkforce_at_yahoo.com]
>
> > Sent: 30 January 2012 20:40
> > To: users_at_subversion.apache.org
> > Subject: Limited subdirectory access
> >
> > We have repo ABC with 40+ subdirectories. Current svn
> > security allows developers rw permissions and qa read
> only to
> > ABC. We would like to have a subgroup of dev to have
> access
> > to subdirectory DEF (ABC/DEF). Is there a way of doing
> this,
> > or does the parent directory access take precedent?
> >
> > Thanks,
> > Rich
> >
>
> http://svnbook.red-bean.com/en/1.7/svn.serverconfig.pathbasedauthz.html
>
> The most specific access takes precedent.  You would
> need to 'revoke' the normal developer's access to the subdir
> (if I understand you correctly) by assigning either 'r' or
> just nothing to their group...
>
> ~ mark c
>
I tried without anything and still no good

[/DEF]
@dev =
@dev1 = rw

I have setup a test repo called sandbox with some subdirectories. Here is my authz file minus all the commented out lines:

[aliases]

[groups]
dev = rcrespo, test
dev1 = test
qa = qagroup

[/DEF]
@dev =
@dev1 = rw

[/]
@dev = rw
@qa = r

I am still able to commit files in the DEF directory using the rcrespo login.
Received on 2012-01-31 14:22:52 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.