Re: Recent XML-RPC Updates

Tobias Käfer <[email protected]> Fri, 01 Jun 2007 14:59:15 +0200
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Tobias KÀfer schrieb:
> Adam Tauno Williams schrieb:
>   
>> Hence "bug"! :)  If I recall correctly, when it goes to verify the
>> provided list of objects it only checks to see if they are teams.  But I
>> can take a look if you need this functionality for something;  probably
>> isn't a big deal to fix it.
>>     
> I tried it by my self and I just comment this out (in
> DirectAction+Appointment.m):
> if ((error = [self _validateTeams:_writers]))
>   return error;
>
> after compiling, it works with users and teams.
Besides the user issue, if you use the "_validateTeams" method you can't
revoke the permissions.
I commented out both the "if ((error = [self _validateTeams:_writers]))"
and "if ((error = [self _validateTeams:_reader]))" to enable revoking
the permissions. That's not the best way to do so, but it works out for
me. Someone with more objective C experience could do it way better than
that.


Greets
Tobias

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc