[Zope] Python Script Permission Problem

Jeff Hotz jeff@hotz.net
Mon, 16 Jul 2001 21:36:31 -0500


Great call.  The external method was the easy and appropriate 
solution.  Thanks for your help.

At 12:37 AM 7/17/2001 +0200, Jerome Alet wrote:
>On Mon, Jul 16, 2001 at 05:16:20PM -0500, Jeff Hotz wrote:
> > When I run the following python script, Zope asks me to log in.  I would
> > like for it NOT to require authorization.  But, even when I login with a
> > valid Zope Administrator uid/pwd, it won't work.
> >
> > Python Script "rotateImage" has Proxy Roles Anonymous, Manager, Owner
> > import os
>
>You're not allowed to import some modules by default in Python Scripts,
>for security reasons.
>
>Search the mailing list archives on zope.nipltd.com to learn how to
>disable this security check.
>
>Alternatively you could create an External Method, which will run
>completely unrestricted, and import whatever module you need.
>
>bye,
>
>Jerome Alet

jeff@hotz.net
www.hotz.net