|
|
Choosing A Webhost: |
Re: Access modifiers: msg#00014cms.opengroupware.xmlrpc.devel
> > Does anyone have any notes or code snippets concerning these methods: > > access.operationAllowedOnObjectsForAccess > > access.setOperationOnObjectForAccess > Did you see: > http://mail.opengroupware.org/pipermail/xmlrpc/2004-July/000213.html > and the original message? Yes. <quote> >> 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) </quote> > > - which I presume are for modifying the access permissions on an > > object? It just isn't entirely clear to me. One always passes "None" to "access"? operationAllowedOnObjectsForAccessAction returns true or false IF the operation specified in "op" is permitted in all objects listed in object? Testing with xmlrpc_call never gets me anything but zero - $ xmlrpc_call http://throw/RPC2 'access.operationAllowedOnObjectsForAccess' 'w' '619730' 'None' login: adam password: 0 - would test write access to object 619730 by current user`? setOperationOnObjectForAccessAction sets a permission on objects (param #2) to the permissions specified in op (param #1)? And param #3 is always "None"?
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Access modifiers, Helge Hess |
|---|---|
| Next by Date: | Resources & Appointments, Adam Tauno Williams |
| Previous by Thread: | Re: Access modifiers, Helge Hess |
| Next by Thread: | Resources & Appointments, Adam Tauno Williams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |