3 Jun
2004
3 Jun
'04
9:03 p.m.
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