[OGo-XML-RPC] Group permissions via XML-RPC or webdav

Adam Tauno Williams xmlrpc@opengroupware.org
Mon, 30 Jan 2006 11:49:56 -0500


--=-10xkG8Nh4AvbVJCa5oVL
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

>            does anybody know if it is possible to set group
> permissions for items (contacts, appointments) using webdav or
> xml-rpc? If so, could you provide an example?

By team you mean group?  Yes,  you should be able to set permissions on
enterprise and contact objects (at least) via the XML-RPC
access.setOperationOnObjectForAccess method.  I don't know about
appointments, I haven't tried those yet but I added support for
access.setOperationOnObjectForAccess to my .NET assembly just this
weekend and it worked very well.

In .NET the signature looks like -

[XmlRpcMethod("access.setOperationOnObjectForAccess")]
bool SetOperationsAllowed(string operation, string documentId, string
actorId);

operation is "r", "w", or "rw"
documentId is the p-key of the object whose ACL you want to change
actorId is the p-key of the object the ACL entry targets (team or
account)

--=-10xkG8Nh4AvbVJCa5oVL
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBD3kO0LRePpNle04MRAs+7AJ9ysY1+R+JKrxcwKfGtymaEaRkclACdG2ew
L+RSqn4nYlaZbgMw1aGfL20=
=kctw
-----END PGP SIGNATURE-----

--=-10xkG8Nh4AvbVJCa5oVL--