[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: Mon, 30 Jan 2012 13:14:53 -0800 (PST)

--- On Mon, 1/30/12, Andy Levy <andy.levy_at_gmail.com> wrote:

> From: Andy Levy <andy.levy_at_gmail.com>
> Subject: Re: Limited subdirectory access
> To: "K F" <cmkforce_at_yahoo.com>
> Cc: users_at_subversion.apache.org
> Date: Monday, January 30, 2012, 8:57 PM
> On Mon, Jan 30, 2012 at 15:52, K F
> <cmkforce_at_yahoo.com>
> wrote:
> >
> >
> > --- On Mon, 1/30/12, Andy Levy <andy.levy_at_gmail.com>
> wrote:
> >
> >> From: Andy Levy <andy.levy_at_gmail.com>
> >> Subject: Re: Limited subdirectory access
> >> To: "K F" <cmkforce_at_yahoo.com>
> >> Cc: users_at_subversion.apache.org
> >> Date: Monday, January 30, 2012, 8:45 PM
> >> On Mon, Jan 30, 2012 at 15:39, K F
> >> <cmkforce_at_yahoo.com>
> >> wrote:
> >> > 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?
> >>
> >> The most specific path matches first. Just add a
> rule for
> >> that
> >> subgroup to have access to ABC/DEF and they'll be
> set.
> >>
> >
> > OK, then I must be doing something wrong. This is how I
> have it setup in the authz file now:
> > [/]
> > @dev = rw
> > @qa = r
> >
> > [/ABC/DEF]
> > @dev1 = rw
> >
> > Do I need to be more specific?
> >
>
> What exactly isn't working?
>
> Is dev1 a group, or an individual?
>
> Do you have the case of the path matched exactly? The rules
> are case-sensitive.
>

I am able to commit with a login that is in the dev group that is not in the dev1 group.

The actual path is /svnrepo/ABC/DEF so I tried

[/svnrepo/sandbox/tags]
@dev1 = rw

and that doesn't work either. Based on the example in the file I also tried

[repository:/svnrepo/sandbox/tags]
@dev1 = rw

with no luck. Any ideas as to what I am doing wrong?
Received on 2012-01-30 22:15:34 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.