[Erp5-dev] security-unaware catalog calls

Jérôme Perrin jerome at nexedi.com
Sat Jan 20 15:04:52 CET 2007


Le Samedi 20 Janvier 2007 14:20, bartek a écrit :
> Hello
>
> If I am writing a Product class and I need to check something in the
> portal_catalog, but bypassing security restrictions - is delegation to a
> Script (Python) with proxy roles the only way to do it, or can it be
> done from the class?

ERP5Catalog lacks unrestrictedSearchResults methods that exists in 
CMFCore.CatalogTool, this is probably the bug.

Jérome



More information about the Erp5-dev mailing list