Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread Chris McDonough
> > I think it will be something along the lines of: > > > > from AccessControl import ModuleSecurityInfo > > ModuleSecurityInfo('Products').declarePublic('SignedEditions') > > ModuleSecurityInfo('Products.SignedEditions').declarePublic('stripCardNumber > > ', 'verifyCardNumber') > > Thanks, that

Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread R. David Murray
On Thu, 19 Apr 2001, Chris McDonough wrote: > http://www.zope.org/Documentation/ZDG/Security.dtml (see Using > ModuleSecurityInfo Objects) > > I think it will be something along the lines of: > > from AccessControl import ModuleSecurityInfo > ModuleSecurityInfo('Products').declarePublic('SignedE

Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread Chris McDonough
This may help: http://www.zope.org/Documentation/ZDG/Security.dtml (see Using ModuleSecurityInfo Objects) I think it will be something along the lines of: from AccessControl import ModuleSecurityInfo ModuleSecurityInfo('Products').declarePublic('SignedEditions') ModuleSecurityInfo('Products.Sig