On 1/6/06, Mike Orr <[EMAIL PROTECTED]> wrote:
> I'm five days behind on list mail and I haven't tried Identity yet.
> But being able to protect a directory or tree in one step is very
> important.

Agreed.

>  Otherwise you protect all the methods but forget about
> one, or don't realize one can be accessed in an unauthenticated
> manner.  Quixote does this easily in ._q_traverse(), which is called
> on every access to or through the directory.  It's also a useful place
> to set default request attributes, redirect, and other needs the
> developers didn't foresee.  Can TG have an optional hook method in its
> directory classes for stuff like this?

In CherryPy, you have the default method which fires if there is no
matching method. Otherwise, the general solution is to use a Filter to
hook in some other behavior that always fires.

Kevin

Reply via email to