[ZCM] [ZC] 2019/ 4 Resubmit "verbose-security / security-policy-implementation python missing method?"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Tue Feb 21 05:58:27 EST 2006


Issue #2019 Update (Resubmit) "verbose-security / security-policy-implementation python missing method?"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2019

==============================================================
= Resubmit - Entry #4 by chrisw on Feb 21, 2006 5:58 am

 Status: Resolved => Pending

I didn't see the QueueCatalog bug get fixed, and that's what this really is...
________________________________________
= Resolve - Entry #3 by ajung on Feb 19, 2006 7:22 am

 Status: Pending => Resolved

I removed validateValue() from cAccessControl:
trunk (r41697), 2.9 branch (r41698)
________________________________________
= Comment - Entry #2 by tseaver on Feb 1, 2006 11:57 am

'validateValue' was part of the (undocumented) API of
AccessControl.SecurityManager in the Zope 2.7 tree.  It was
dropped from the class almost immediately (after the 2.7 branch),
except that the C implementation retains it as a fossil.

I would prefer to resolve as follows:

  - Delete the fossil from cAccessControl.c in the 2.8 and 2.9
    branches and the trunk.

  - Fix QueueCatalog to use the 'validate' API.

________________________________________
= Request - Entry #1 by chrisw on Feb 1, 2006 10:53 am

Adding the following to zope.conf:

security-policy-implementation python
verbose-security on

...results in weird errors during object indexing:

    catalog_object = self.getZCatalog('catalog_object')
  File "Products/QueueCatalog/QueueCatalog.py", line 227, in getZCatalog
    if not security_manager.validateValue(ZC):
AttributeError: SecurityManager instance has no attribute 'validateValue'

Is something somewhere missing a validateValue method?
==============================================================



More information about the Zope-Collector-Monitor mailing list