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

Restricting access rights in AuthzSVNAccessFile

From: Nicolas Guerin <Nicolas.Guerin_at_xrce.xerox.com>
Date: 2005-01-26 19:10:04 CET

Hi,

I need to allow read access to a SVN repository to any authenticated
user but a few.
Since we're using mod_authz_svn for fine grained user access, I put in
place this simple AuthzSVNAccessFile access file:

   [groups]
   restricted = tom,john

   [/]
   * = r
   @restricted =

I hoped that read access would be granted to all but the 'restricted'
group.
Unfortunately, it is not the case: tom and john can still checkout the
repository.

I also tried listing individual users instead of a group, but it didn't
help.

The only workaround I see is to list ALL users (around 3000!) in a
group, and:

   [/]
   * =
   @allusers = r

But I think that SVN performance would suffer...
BTW, I'm using SVN 1.0.6 with https access.

Any idea why the first example does not work?
All suggestions welcome.
Thank you for your help!

Nicolas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 26 19:12:41 2005

This is an archived mail posted to the Subversion Users mailing list.