[Zope-CMF] Zope security and Python...

Jens Vagelpohl jens@zope.com
Fri, 30 Aug 2002 08:30:19 -0400


err, i meant ZODB-based python scripts.

jens

On Friday, Aug 30, 2002, at 08:12 US/Eastern, Jens Vagelpohl wrote:

> you cannot just import random python modules into filesystem python 
> scripts. see the documentation inside the PythonScripts folder 
> underneath <zope>/lib/python/Products.
>
> jens
>
> On Friday, Aug 30, 2002, at 07:54 US/Eastern, Braun Brelin wrote:
>
>> Hello,
>>
>> Sorry for all the newbie questions here...I'm still
>> trying to get on my feet with Zope and Python.
>>
>> Doing a sample python script, I'm trying to do the
>> following:
>>
>> import sys
>>
>> print "sys.path = ",sys.path
>>
>> I'm using the standard python script template provided
>> with Zope.
>>
>> When I try and run this, I get a username/password
>> dialog box.  When I type in the admin name and
>> password, it rejects it.
>>
>> It seems as though there's some sort of security
>> permissions that I have to enable/disable.  Anyone
>> know what that is?
>>
>> Braun
>>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests