You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Christian Jahn <ch...@dynagroup.de> on 2004/12/07 12:31:22 UTC

[PATCH] Recursive group definition in access file.

Hello,

first off, please apologize my english grammar and limited vocabulary; 
german is my native
language.

With this patch, it's possible to define groups as group members.

e.g.:

[groups]
group1 = u1, u2
group2 = u3, u4

all = @group1, @group2

[/]
@all

If the code in this patch doesn't suit your perceptions, drop it.
But it would be nice to have such a functionality.

* mod_authz_svn
   (group_contains_user): If  the passed group beginns with an '@', make 
a recursive call
    to resolve the group members.

MfG,
Christian Jahn

Re: [PATCH] Recursive group definition in access file.

Posted by Michael W Thelen <mi...@pietdepsi.com>.
Christian Jahn wrote:
> With this patch, it's possible to define groups as group members.
> 
> e.g.:
> 
> [groups]
> group1 = u1, u2
> group2 = u3, u4
> 
> all = @group1, @group2

Thank you for the patch... this looks pretty much the same as issue 
#2085 in the issue tracker:

http://subversion.tigris.org/issues/show_bug.cgi?id=2085

You may want to monitor that issue to see whether/when the change will 
be included.  (I agree, it would be very nice to have.)

-- 
Michael W Thelen
It is a mistake to think you can solve any major problems just with
potatoes.       -- Douglas Adams