[Zope] proxy role for an external method

Peter Bengtsson peter at fry-it.com
Mon Oct 10 17:57:25 EDT 2005


2005/10/10, Reinoud van Leeuwen <reinoud.v at n.leeuwen.net>:
> On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
> > Are you using CMF/Plone?
>
> yes. the main part of the function is:
>
>    for brain in self.portal_catalog(portal_type='User',
>                                         SearchableText=SearchableText):
>         user = brain.getObject()
>         if user is None:
>             continue
>         results.append(getUserInfo(user))
>
> This works in a pyhton script but not in an external one
>

I find this hard to believe. But, for the External Method you might
need to allow Anonymous to View it if it's at all protected.
What's the output when you do it via xmlrpc? Is it [] or error?


--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list