[Zope] SecurityCheckPermission

Dieter Maurer dieter@handshake.de
Sun, 28 Jul 2002 23:30:40 +0200


NathanDunn@ctimi.com writes:
 > What is the TAL equivelant to:
 > 
 >                                                                             
 >  <dtml-if "                                                                 
 >  _.SecurityCheckPermissio                                                   
 >  n('Delete objects',this                                                    
 >  ())">                                                                      
Something like (you need to look up the correct names):

    <div
      tal:define="SecurityManager modules/AccessControl/getSecurityManager"
      tal:condition="python: SecurityManager.checkPermission(...)">
      ...
    </div>


Dieter