30 Apr
1999
30 Apr
'99
1:50 p.m.
Hi all, Martijn or somebody else, Can you please explain me the code below. I don't understand it and it doesn't work the way I want. <h2><!--#var title_or_id--></h2> <!--#call "REQUEST.set('allowedVisualData', AUTHENTICATED_USER.hasRole(_.None, ['allowedVisualData']))"--> <p> <!--#if allowedVisualData--> This should be a picture :-) <!--#else--> Security violation, cryptic messages! <!--#/if--> </p> <!--#var standard_html_footer--> If I browse to this page I get the message : this should be a picture. Where can I set that a user can only enter the page after he's given a password? Or where can I set these user roles? I don't get it. At the moment I haven't set anything and it still allows me to enter the data. Tia, Tom