[Zope] newbie : req.AUTHENTICATED_USER.has_permission
   
    cyrille
     
    cyrilleml@kbuilder.net
       
    Wed, 16 Oct 2002 13:59:21 +0200
    
    
  
hello,
again a newbie question :
After creating a Page Template,
I go in security options and put Manage Properties ON for all roles 
(Anonymous, ...)
in da page I put a line :
    Manage Properties here : <span tal:replace="structure
        python:here.REQUEST.AUTHENTICATED_USER.has_permission('Manage 
Properties', here)"
        />
If I display the page when login as a Manager the result is :
    Manage Properties here : 1
that's OK.
But when displaying the page with a anonymous connection I get result :
    Manage Properties here : None
Why ?
Because, I repeat that I change security option to add Manage Properties 
for Anonymous and all other roles.
Thanks,
Cyrille