You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Martin Wulffeld <ma...@wulffeld.org> on 2004/09/29 13:51:43 UTC

[PATCH] Ability to specify groups in groups

Hi

* 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

I've diffed against 1.0.8 since svn.collab.net has been down all day
it seems.

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