AnsweredAssumed Answered

4.0c removing UI actions works on windows but not in linux

Question asked by ggates1 on Feb 23, 2012
Latest reply on Jun 7, 2012 by ggates1

I am customizing UI Actions Menus to reduce the actions that a user can take when dealing with a document.  One of the UI Actions I want to remove is  Publish which on windows does not show within either the document browse action menu or the document details action menu after editing the share-documentlibrary-config.xml.  However, I deployed the share-documentlibrary-config.xml file from the windows instance to the linux instance location /opt/alfresco-4.0.c/tomcat/webapps/share/WEB-INF/classes/alfresco. When I restarted the linux server I see the Publish UI action in both UI Actions Menus.

Any clues would be of great help as I am new to alfresco.


Here is how i am disabling the Publish UI action

<!– Publish document… set to negate="false" by ggates 2/22/2012–>
         <action id="document-publish" type="javascript" label="actions.document.publish">
               <param name="function">onActionPublish</param>
               <evaluator negate="false">evaluator.doclib.action.isLocked</evaluator>