[Zope] strange line in BaseRequest.py

Steve Spicklemire steve@spvi.com
Tue, 8 Feb 2000 07:11:52 -0500 (EST)


Hi (again!) Ingo,

   I'm not sure if you're going to like the answer.. but 
I think it should work if you:

define the user at the root level with *no roles*. 

In the folder where they have privs.. give them local roles
that allow them to do their business...

-steve

>>>>> "Ingo" == Ingo Assenmacher <ingo.assenmacher@post.rwth-aachen.de> writes:

    Ingo> Hi!

    Ingo> I am using Zope 2.1.2/Linux ix86.


    Ingo> Now there is a line in
    Ingo> $PYTHONDIR/lib/python/ZPublisher/BaseRequest.py which does
    Ingo> riddle me:

    Ingo> if user is None and roles != UNSPECIFIED_ROLES:
    Ingo> response.unauthorized()

    Ingo> (line 441/442).