I've got a little Product that does some init hacks. One of the
things I want to do is expose a couple of python fuctions such that
they can be imported into pythonscripts. After much spelunking in
the mailing list and the PythonMethods wiki on zope.org, I *think*
that what I need to do is
('Products.SignedEditions').declarePublic('stripCardNumber
', 'verifyCardNumber')
- Original Message -
From: "R. David Murray " [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 1:56 PM
Subject: [Zope-dev] how to add to the pythonscript allowed import list?
I've go
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
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 worked!
I'm