[ZCM] [ZC] 1451/ 1 Request "ComputedAttribute permission problems in 2.7"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon Aug 2 23:01:03 EDT 2004


Issue #1451 Update (Request) "ComputedAttribute permission problems in 2.7"
 Status Pending, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1451

==============================================================
= Request - Entry #1 by richard on Aug 2, 2004 11:01 pm

ComputedAttributes sometimes run afoul in the permission machinery with the following sort of error (courtesy VerboseSecurity):

"""
Module Products.PageTemplates.Expressions, line 336, in restrictedTraverse
   - __traceback_info__: {'path': ['cgpublisher_url'], 'TraversalRequestNameStack': [], 'page_layout': <CG TemplatedHTML page_layout at 0x3b5de00>}
  Module AccessControl.ImplPython, line 404, in validate
  Module Products.VerboseSecurity.VerboseSecurityPolicy, line 101, in validate
Unauthorized: No container provided.  Access to 'cgpublisher_url' of None, acquired through (CG WebSpace web at 0x3b5d9c0), denied.
"""

Where "cgpublisher_url" is the ComputedAttribute.

==============================================================



More information about the Zope-Collector-Monitor mailing list