[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Users and Security

webmaster at zope.org webmaster at zope.org
Tue Mar 23 07:59:39 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx#2-46

---------------

    For Page Templates the syntax is a bit different, but the behavior
    is the same::

      <form action="upload" 
        tal:condition="python: modules['AccessControl'].getSecurityManager().checkPermission('Add Documents, Images, and Files', here)">
      ...
      </form>

      % Anonymous User - Mar. 23, 2004 7:59 am:
       This code breaks the whole page layout making it very hard to read.



More information about the ZDP mailing list