[ 
http://jira.nuxeo.org/browse/NXP-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34792#action_34792
 ] 

Florent Guillaume commented on NXP-2267:
----------------------------------------

To enable:

     <action id="TAB_PUBLISH" link="/incl/tabs/document_publish.xhtml" 
order="53"
       enabled="true" label="action.publish.content" icon="/icons/file.gif">
       <category>VIEW_ACTION_LIST</category>
       <filter-id>publish_document</filter-id>
-      <filter-id>mutable_document</filter-id>
+      <filter-id>not_anonymous</filter-id>
     </action>

     <filter id="publish_document">
+      <rule grant="false">
+        <type>Root</type>
+      </rule>
+      <rule grant="false">
+        <condition>
+          document.getCurrentLifeCycleState().equals("deleted")
+        </condition>
+      </rule>
+      <rule grant="true">
+        <condition>document.isProxy()</condition>
+      </rule>
       <rule grant="true">
         <facet>Publishable</facet>
       </rule>
     </filter>



> Allow republish directly from a proxy
> -------------------------------------
>
>                 Key: NXP-2267
>                 URL: http://jira.nuxeo.org/browse/NXP-2267
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Improvement
>          Components: Core, Web UI
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>             Fix For: 5.1.5
>
>
> Allow the publish tab on a proxy, so that republishing can be done from it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to