CC: | simonm [...] cavalletto.org |
Hello, and thank you for this very useful module!
I noticed one unnecessary limitation in the module: the code treats the member parameter to addGroupMember and deleteGroupMember as always a bare username -- but in fact, Google
allows you to enable adding non-domain members to a group.
I monkey-patched around this and confirmed it works, using code like this:
$arg->{'member'} .= '@' . $self->{'domain'} unless ( $arg->{'member'} =~ /[@]/ );
$body .= qq( <apps:property name="memberId" value="$arg->{'member'}" />\n);
I hope that's useful in case you want to wish to incorporate a similar flexibility in your
distribution.
Thanks again,
--
-Simon