[ZPT] Are PageTemplateFiles restricted code?

Evan Simpson evan@zope.com
Thu, 28 Feb 2002 14:18:11 -0500


Michael R. Bernstein wrote:
> Damn. How then am I supposed to do:
> 
> <title tal:content="/here/title">The Title</title>
> 
> ...when I lock down the class as deny by default with:
> 
> security.setDefaultAccess("deny")?

Blanket "deny" is likely to be painful in other ways...  try this:

ok = {'meta_type':1, 'id':1, 'icon':1, 'bobobase_modification_time':1 }
security.setDefaultAccess(ok)

Yes, this is horribly undocumented :-(

Sorry,

Evan @ Zope