Dear All,
Still trying to hide/activate document library actions based on user role settings.
The code below hides the move to action, but unfortuantely hides for all users:
<config evaluator="string-compare" condition="DocLibActions" parent="evaluator.doclib.action.chainedMatchAll ">
<actions>
<action id="document-download" type="javascript" label="actions.document.move-to">
<param name="function">onActionMoveTo</param>
<evaluator>evaluator.doclib.action.isSiteConsumer</evaluator>
<evaluator>evaluator.doclib.action.disableAction</evaluator>
</action>
</actions>
</config>
I am not sure about the usage of evaluator.doclib.action.chainedMatchAll here.
Is there an example somewhere about how to use the chainedMatchAll and chainedMatchOne evaluators?
Regards,
Zsolt Putnoky