BackTalk to Document The Zope Book (2.6 Edition)/Users and Security
[email protected] Tue, 23 Mar 2004 07:59:39 -0500
| Newsgroups | gmane.comp.web.zope.zdp |
|---|---|
| Message-ID | <[email protected]> |
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.
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp