Re: Group permissions via XML-RPC or webdav
Adam Tauno Williams <[email protected]> Mon, 30 Jan 2006 11:49:56 -0500
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD3kO0LRePpNle04MRAs+7AJ9ysY1+R+JKrxcwKfGtymaEaRkclACdG2ew L+RSqn4nYlaZbgMw1aGfL20= =kctw -----END PGP SIGNATURE-----