[Zope-CMF] Refactoring of logged_in.pt (and maybe logged_out)

Jean-Marc Orliaguet jmo at ita.chalmers.se
Thu Aug 18 12:42:53 EDT 2005


Julien Anguenot wrote:

> Hi,
>
> I would like to change the logged_in.pt on the TRUNK.
>
> It would be much cleaner to split this file in two files to extract the
> Python logic from the ZPT that would ease the override for third party
> products :
>
>  - logged_in.py
>    fixtures before the actual login
>
>  - logged_in_template.pt (or whatever the name could be)
>    logged_in.py would redirect to this template once the fixtures done.
>
> I guess the mecanism could be extended to the logged_out.pt as well but
> my actual YAGNI is for the logged_in.pt
>
> What do you think ?
>
>     J.
>

yes, definitely! It would fix the security hole too.

BTW check out http://svn.nuxeo.org/trac/pub/ticket/852 .

/JM


More information about the Zope-CMF mailing list