Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.webengine.sites.actions--filters

This contribution is part of XML component org.nuxeo.ecm.platform.webengine.sites.actions inside nuxeo-webengine-sites-5.6.jar

Extension point

Extension point filters of component ActionService.

Contributed items

  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>WebSite</type>
            <type>WebPage</type>
          </rule>
        </filter>
  • <filter append="true" id="importFile">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>WebSite</type>
          </rule>
        </filter>
  • <filter id="isWebContainer">
       	  <rule grant="true">
            <facet>WebView</facet>
          </rule>
          <rule grant="false">
            <type>Workspace</type>
          </rule>
        </filter>

XML source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter append="true" id="create">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>WebSite</type>
        <type>WebPage</type>
      </rule>
    </filter>

    <filter append="true" id="importFile">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>WebSite</type>
      </rule>
    </filter>

    <filter id="isWebContainer">
   	  <rule grant="true">
        <facet>WebView</facet>
      </rule>
      <rule grant="false">
        <type>Workspace</type>
      </rule>
    </filter>

  </extension>