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

[PATCH] Ability to specify groups in groups (second time)

From: Martin Wulffeld <martin_at_wulffeld.org>
Date: 2004-10-04 11:57:26 CEST

Hi

This is the second time I submit this patch. First time was a diff
against 1.0.8 since collab.net was down. This diff is against HEAD.

* subversion/mod_authz_svn/mod_authz_svn.c
  (group_contains_user): Made it call itself if it encounters a
  group. An extra argument 'level' added to guard against excessive
  recursion.
  All callers changed.

This is about the access control file specified via the
AuthzSVNAccessFile directive in httpd.conf. The [groups] part does not
allow one to specify other groups so it gets rather cumbersome to deal
with lots of users who are in different groups. For example:

[groups]
permstaff = a, b, c, d, e
consultants = f, m
everyone = @permstaff, @consultants

-- 
 Martin
 http://www.wulffeld.org/
 http://www.allornone.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Oct 4 11:57:44 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.