On Wednesday September 10, 2008 21:05:37 Mark Ramm wrote:
> So, I think the middleware should live in some library somewhere, not
> in the template itself (what if there's a security fix, do we require
> all users to update their generated middleware code?) and I'm fine
> with putting it in tgext.authorization.quickstart or
> tgext.authorization.helpers or whatever we want to call it.
> Alternatively if you feel really strongly that id does not belong in
> tgext.authorization we can put it in tg itself
> tg.authhelpers.make_who_middleware.

That sounds good. Then I think we should do it that way.

> The key thing is that it should be easy to extend, but that those who
> don't want to extend it should not have to understand and maintain it.

+1.

Cheers.
-- 
Gustavo Narea.
http://gustavonarea.net/

Get rid of unethical constraints! Switch to Freedomware:
http://softwareliberty.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to