root/org.nuxeo.ecm.platform/trunk/nuxeo-platform-archive-web/src/main/resources/OSGI-INF/actions-contrib.xml

Revision 20854, 1.2 kB (checked in by tdelprat, 3 years ago)

NXP-1224
Domain should not have the Archive tab

  • Property svn:eol-style set to native
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <component name="org.nuxeo.ecm.platform.archive.web">
4
5   <documentation>
6
7       NXArchive action contributions.
8
9       @version 1.0
10       @author <a href="mailto:bt@nuxeo.com">Bogdan Tatar</a>
11   </documentation>
12
13   <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
14
15     <documentation>
16
17       Contribute a new action related to document archive.
18
19     </documentation>
20
21     <action id="TAB_CONTENT_ARCHIVE" link="/incl/tabs/document_archive.xhtml"
22       enabled="true" label="action.view.archive" icon="/icons/file.gif"
23       order="120">
24       <category>VIEW_ACTION_LIST</category>
25       <filter-id>view_content_archive</filter-id>
26       <filter-id>mutable_document</filter-id>
27     </action>
28
29   </extension>
30
31    <extension target="org.nuxeo.ecm.platform.actions.ActionService"
32     point="filters">
33
34     <filter id="view_content_archive">
35         <rule grant="false">
36           <type>WorkspaceRoot</type>
37           <type>Workspace</type>
38           <type>SectionRoot</type>
39           <type>Section</type>
40           <type>Domain</type>
41           <type>Server</type>
42         </rule>
43       </filter>
44
45    </extension>
46
47 </component>
Note: See TracBrowser for help on using the browser.