[Zope] Scripts run as least privileged user necessary?

Chris Withers chrisw at nipltd.com
Wed Sep 3 14:30:16 EDT 2003


Ken Causey wrote:
> I'm running into a strange problem.  I have a situation in which I want
> a script to treat Managers differently than other users.  But I'm
> finding that whether or not I'm logged in as a manager or not the script
> only considers the user to be 'Anonymous User' as long as 'Anonymous'
> has View privilege for the script.  If I change the Security permissions
> so that only 'Authenticated' can View the script then the user is
> properly identified.  Is this expected behaviour?  This is what I'm
> seeing on 2.6.1.

What are you trying to do with your script? There may be a better way to tackle 
it...

cheers,

Chris




More information about the Zope mailing list