[Zope] Permission problem creating a wrapper class for custom
search
Dieter Maurer
dieter at handshake.de
Thu Jun 3 17:03:27 EDT 2004
Francis Kelly wrote at 2004-6-2 23:51 +0000:
>I'm trying to create custom search module that will fit into the out-of-the-box
>Plone search functionality. I'm running into a permissions problem (which I
>believe is a Zope and not Plone issue). I get back a list of dictionary objects
>from my search method and I want to wrap those up in an object akin to the
>AbstractCatalogBrains object used by Zope. But when I use my own SearchWrapper
>class, an Unauthorized exception is raised telling me I don't have the right to
>use the methods of my SearchWrapper class.
You should read the "Zope Developer Guide" -- especially the
sections about security declarations...
--
Dieter
More information about the Zope
mailing list