[Zope-dev] Re: Grrr... Python Scripts
Chris McDonough
chrism@digicool.com
Fri, 11 May 2001 08:56:40 -0400
We actually need to do something to make a whole bunch of default stuff
importable and usable from within Python Scripts, it's just a matter of
which modules/classes to add security declarations for. It's also a
matter of when, and who. This needs to go through the fishbowl,
likely. Now if only we could manufacture some more time...
- C
Chris Withers wrote:
>
> 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
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )