Jonathan wrote at 2007-3-14 10:10 -0400:
>I have some "trusted code" (an external method) which is doing a ZCatalog
>search:
>
>sRes = targetFolder.Catalog({'PrincipiaSearchSource' :
>self.REQUEST['searchText']})
>
>
>But this is causing the following error:
> ...
> Module Products.ZCatalog.CatalogBrains, line 86, in getObject
You are using the "getObject" method which performs an internal
security check.
There is also an internal version (I think, "_getObject") which
does not check security and can be used from trusted code.
--
Dieter
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )