AnsweredAssumed Answered

Using <r:permissionEvaluator> to selectively display c

Question asked by lnagra on Mar 29, 2006
Latest reply on Apr 12, 2006 by kevinr
Apologies if this has already been answered, but I couldn't find it through a forum search.

I would like to take advantage of the <r:permissionEvaluator> tag that the Alfresco web client uses to selectively display controls through the web client.

I note that the typical use goes something like:

<r:permissionEvaluator value="#{NavigationBean.currentNode}" allow="Write" id="eval7">



</r:permissionEvaluator>

I'm assuming that NavigationBean.currentNode is pretty static and the allow property is the permission level you wish to apply (i.e. only users with write access see this), but I haven't worked out what the id property is used for.

Could you help me in understanding how to use this property in my own JSPs?

Thanks,

Lakhdip

Outcomes