[Zope-dev] Re: Grrr... Python Scripts

Chris Withers chrisw@nipltd.com
Fri, 11 May 2001 10:23:35 +0100


Chris McDonough wrote:
> 
> Here Chris, I'll try to solve your pain (untested):
> 
> from AccessControl import ModuleSecurityInfo
> ModuleSecurityInfo('Products').declarePublic('Catalog')
> ModuleSecurityInfo('Products.Catalog').declarePublic('CatalogError')

Could that we added to PythonScripts/standard.py so I don't have to do it all
the time?
Is it a patch worthy of the collector? ;-)

cheers,

Chris