Re: Recent XML-RPC Updates
Adam Tauno Williams <[email protected]> Fri, 01 Jun 2007 09:08:02 -0400
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
> >> 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. File a bug report.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBGYBoxLRePpNle04MRArjTAJ0QlcOnlDjc7jIFIvu27k8TFRuaWQCfW+/9 ZYTv4/pF1TcUhJNzQjX/xMI= =WzbQ -----END PGP SIGNATURE-----