Re: xml and access rights

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
On Jun 19, 2004, at 20:53, Patrick Stuckenberger wrote:
> is there any way to set the access rights (Zugriffsrechte) with rpc?

Looking at the source code I see implementations of

   bool access.operationAllowedOnObjectsForAccessAction(op, objects, 
access)
   bool access.setOperationOnObjectForAccessAction(op, object, access)

"op" should be a string like "r" or "rw"
"objects" should be an array of strings containing the object-pkeys
I think you should pass "None" for "access" (apparently for addressing 
specific ACL entries)

Didn't try though.

Greets,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.