[Maypole] authentication for plain templates

Simon Cozens simon@simon-cozens.org
Tue, 6 Jul 2004 14:22:15 +0100


Jason Kohles:
> Following up to my earlier message, it seems that a simple template
> (such as the example 'frontpage') can not be authenticated for similar
> reasons, your authenticate() sub will never be called if you are calling
> a template which is not associated with a table.  I've patched my
> version of Maypole with this patch, which solves the problem for me, and
> hopefully for others...

Firstly, this should be in maypole-dev. Secondly I remember deliberately taken
this out because plain templates don't have model classes.

-- 
<Halfjack> Ah the joys of festival + Gutenburg project.  I can now have
Moby Dick read to me by Stephen Hawking.