On Tue, Jan 31, 2012 at 08:22, K F <cmkfo...@yahoo.com> wrote: > > > --- On Tue, 1/31/12, Cooke, Mark <mark.co...@siemens.com> wrote: > >> From: Cooke, Mark <mark.co...@siemens.com> >> Subject: RE: Limited subdirectory access >> To: "K F" <cmkfo...@yahoo.com>, "users@subversion.apache.org" >> <users@subversion.apache.org> >> Date: Tuesday, January 31, 2012, 9:25 AM >> > -----Original Message----- >> > From: K F [mailto:cmkfo...@yahoo.com] >> >> > Sent: 30 January 2012 20:40 >> > To: users@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.