[Zope-Coders] Zope 2.5 instability problems

Chris McDonough chrism@zope.com
Mon, 10 Dec 2001 13:55:00 -0500


I would make sure that this is the case in all of those modules before
trying it, because I *think* I saw a case where the
ZOPE_SECURITY_POLICY envvar was not respected and the C stuff was used
regardless.

----- Original Message -----
From: "Martijn Faassen" <faassen@vet.uu.nl>
To: "Chris McDonough" <chrism@zope.com>
Cc: <zope-coders@zope.org>
Sent: Monday, December 10, 2001 1:33 PM
Subject: Re: [Zope-Coders] Zope 2.5 instability problems


> Chris McDonough wrote:
> > Martijn,
> >
> > Can you try running with Python AccessControl functions in place
of
> > the C versions?  You can do this by following the instructions in
the
> > following modules in the AccessControl package:
SecurityManager.py,
> > DTML.py, PermissionRole.py, ZopeGuards.py, and
ZopeSecurityPolicy.py.
> > If you can run ok on the Python-based access control, we'll need
to
> > investigate the C access control module.
> >
> > As an aside, that seems like a lot of places that you need to
disable
> > C-based access control.  Sigh.
>
> Looking at the sources it looks like I could simply define the
> ZOPE_SECURITY_POLICY environment variable to PYTHON, so I will
> try that.
>
> Regards,
>
> Martijn
>
>