11 Jul
2005
11 Jul
'05
4:27 p.m.
How can I manage permissions for imported ZPT files? Relevant lines from my Product: from AccessControl import ClassSecurityInfo class MyClass(....): security=ClassSecurityInfo() comment_add_form=PageTemplateFile('zpt/comment_add_form',globals()) My goal is to limit access to comment_add_form to the Authenticated role only. comment_add_form is on the filesystem, in my Product's zpt directory. How can I achieve this? I understand zilch about ClassSecurityInfo... (My Product is based on JMBoring template) -- Milos Prudek http://www.spoxdesign.com - your web usability testing