As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<alfresco-config> <config> <actions> <action id="create_space"> <permissions> <permission allow="true">CreateChildren</permission> </permissions> <evaluator>***.***.***.web.action.evaluator.ShortcutNodeEvaluator</evaluator> <label-id>create_space</label-id> <image>/images/icons/create_space.gif</image> <action>dialog:createSpace</action> </action> <action id="manage_deleted_items"> <evaluator>***.***.***.web.action.evaluator.ShortcutNodeEvaluator</evaluator> <label-id>email_space_users</label-id> <image>/images/icons/email_users.gif</image> <action>dialog:manageDeletedItems</action> </action> </actions> </config> </alfresco-config>
<a:actionLink id="manage-deleted-items" value="#{msg.manage_deleted_items}" action="dialog:manageDeletedItems" image="/images/icons/trashcan.gif" />
<a:booleanEvaluator value="#{NavigationBean.currentUser.admin == true}"> <a:actionLink id="manage-deleted-items" value="#{msg.manage_deleted_items}" action="dialog:manageDeletedItems" image="/images/icons/trashcan.gif" /> </a:booleanEvaluator>
As I said before it is very easy to override action such as Create space, Advanced Space Wizard, …. and to add them an evaluator.But how can I had an evaluator to the item "Add Content" ??? (I did not found the definitions of this action anywhere…)I want to disable this in some space thanks to an evaluator. (Those space must contains only spaces and not files)…