[ZCM] [ZC] 802/ 1 Request "Post-traversal hook"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin@zope.org
Mon, 10 Feb 2003 11:21:28 -0500


Issue #802 Update (Request) "Post-traversal hook"
 Status Pending, Zope/feature+solution low
To followup, visit:
  http://collector.zope.org/Zope/802

==============================================================
= Request - Entry #1 by evan on Feb 10, 2003 11:21 am


Uploaded:  "p"
 - http://collector.zope.org/Zope/802/p/view
Access Rules allow for a certain amount of pre-processing of requests, but fall short when you want to utilize authentication information or the full context of the published object.  The attached patch provides a post_traverse() method that can be used during publishing traversal.  It allows an Access Rule (or similar) to register a callable object and arguments.  Registered objects are called in the order in which they were registered just before traverse() completes.
==============================================================