[ZCM] [ZC] 1140/ 3 Resolve "zope.conf cannot set security policy implementation"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Jan 21 15:24:09 EST 2004


Issue #1140 Update (Resolve) "zope.conf cannot set security policy implementation"
 Status Resolved, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1140

==============================================================
= Resolve - Entry #3 by Brian on Jan 21, 2004 3:24 pm

 Status: Accepted => Resolved

fixed in 2.7.0 b4 and greater

-BL
________________________________________
= Comment - Entry #2 by fdrake on Dec 8, 2003 11:32 am

I have this almost complete; there's a lot of things moving around to get this dealt with.

Unfortunately, the skip-authentication-checking and skip-ownership-checking settings in zope.conf are also not honored.  ;-(  Not yet fixed.
________________________________________
= 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