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

Re: authz: exclude a user from all directories, save some

From: Lasse Kliemann <lasse-subversion-users-2004_at_plastictree.net>
Date: Tue, 17 Jun 2008 12:44:06 +0200

* Message by -Anders J. Munch- from Tue 2008-06-17:
> Lasse Kliemann wrote:
> > I am looking for an authz configuration which satisfies the following:
> >
> > 1. User A shall have access to all directories.
> > 2. User B shall have access only to trunk/x and trunk/y.
> > 3. User B shall be able to check out trunk/x and trunk/y
> > by just checking out trunk.
> >
> > The point is that it seems that goal number 3 requires that user B has at
> > least read access to trunk. But then, this access is inherited by all the
> > subdirectories.
>
> How about using externals? Create a directory /users/B and place
> externals referring to x and y there. Have B check out /users/B in
> place of /trunk.

Yes, that looks like a clean way to do it.

Only problem is that commits do not recurse into externals. This is bound to
cause trouble with less experienced users.

  • application/pgp-signature attachment: stored
Received on 2008-06-17 12:26:37 CEST

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.