[ZCM] [ZC] 1140/ 1 Request "zope.conf cannot set security policy
implementation"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Wed Dec 3 18:04:09 EST 2003
Issue #1140 Update (Request) "zope.conf cannot set security policy implementation"
Status Accepted, Zope/bug medium
To followup, visit:
http://zope.org/Collectors/Zope/1140
==============================================================
= Request - Entry #1 by mj on Dec 3, 2003 6:04 pm
Status: Pending => Accepted
Supporters added: fdrake
Two problems:
- The example in zope.conf for security-policy-implementation uses the wrong case; it should read 'security-policy-implementation PYTHON'.
- Even if you set that correctly, it won't have any effect. AccessControl seems to be imported *before* configuration, so when Zope tries to decide what implementation to use, the env var isn't configured by zope.conf yet and so the C implementation is chosen.
Workaround: set the ZOPE_SECURITY_POLICY env var manually.
==============================================================
More information about the Zope-Collector-Monitor
mailing list