[Zope] Re: [Ann] Post-Authentication-Hook patch

Evan Simpson evan at 4-am.com
Thu Sep 25 16:07:51 EDT 2003


I would prefer the patch I submitted in #802, since it allows for 
multiple, independent post-traversal actions, and cannot be affected by 
name clashes in userspace.  I admit that it's a bit harder to use than 
simply acquiring a callable, though.

http://collector.zope.org/Zope/802/view

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.

Cheers,

Evan @ 4-am




More information about the Zope mailing list