--- On Tue, 1/31/12, Andy Levy <[email protected]> wrote:
> From: Andy Levy <[email protected]> > Subject: Re: Limited subdirectory access > To: "K F" <[email protected]> > Cc: "[email protected]" <[email protected]>, "MarkCooke" > <[email protected]> > Date: Tuesday, January 31, 2012, 1:54 PM > On Tue, Jan 31, 2012 at 08:22, K F > <[email protected]> > wrote: > > > > > > --- On Tue, 1/31/12, Cooke, Mark <[email protected]> > wrote: > > > >> From: Cooke, Mark <[email protected]> > >> Subject: RE: Limited subdirectory access > >> To: "K F" <[email protected]>, > "[email protected]" > <[email protected]> > >> Date: Tuesday, January 31, 2012, 9:25 AM > >> > -----Original Message----- > >> > From: K F [mailto:[email protected]] > >> > >> > Sent: 30 January 2012 20:40 > >> > To: [email protected] > >> > 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. > I removed the space and that didn't work. I'm open to trying anything that is suggested.
