AnsweredAssumed Answered

ReadProperties permission

Question asked by janejiao on Dec 9, 2008
Latest reply on Dec 10, 2008 by klaas
Dear alfresco:
We have a requirement that the ReadProperties permission can't link the file name. Only view the file name;
The Read permission can link and view the file.
so I want to do:

<r:permissionEvaluator value="#{BrowseBean.content}" allow="Read">
     <a:actionLink value="#{r.name}" href="#{r.url}"/>
</r:permissionEvaluator>

<r:permissionEvaluator value="#{BrowseBean.content}" allow="ReadProperties">
     <h:outputText value="#{r.name}" />
</r:permissionEvaluator>


But the above code will apper the <a:actionLink> and <h:outputText> at the same time. Can you help me?
Thank you very much.

Outcomes