[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: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 31 Jan 2012 08:54:40 -0500

On Tue, Jan 31, 2012 at 08:22, K F <cmkforce_at_yahoo.com> wrote:
>
>
> --- 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

I can't explain why, and maybe it's been fixed in a later version, but
I seem to recall having an issue with path-based authorization when
the groups were defined with spaces. IOW, this:

dev = rcrespo, test

did not work properly but this:

dev = rcrespo,test

did.
Received on 2012-01-31 14:55:51 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.