[Zope] User Roles in ZPT

Jamie White greatbks@truevine.net
Tue, 13 May 2003 13:38:48 -0400


What is the proper syntax to determine whether the user has a role using
zpt.
...             ?????????????????????????????????       
<p tal:omit-tag=???"not:user/has_role/Manager"???
                ????????????????????????????????? 
   tal:content="structure here/managerContent.html">
   <span tal:replace="structure here/content.html"></span>
</p>
...

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003