Re: [Zope-dev] AUTHENTICATED_USER.has_role !!
15 Sep
2000
15 Sep
'00
8:46 p.m.
Maulin Doshi writes:
<dtml-if "AUTHENTICATED_USER.has_role('Vorstand')"> The above code use to worked very OK with Zope version: Zope 2.1.6 (binary release, python 1.5.2, linux2-x86). But now when I have upgraded to Zope version: Zope 2.2.1 (binary release, python 1.5.2, linux2-x86), I dont find "<dtml-if "AUTHENTICATED_USER.has_role('Vorstand')">" working the way it use to!! How did it work in 2.1.6 and how does it work now?
It should return true iff the current user has role 'Vorstand' -- in 2.1.6 as well as in 2.2.1. Dieter
9413
Age (days ago)
9413
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer