Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution studio.extensions.easyshare--filters

This contribution is part of XML component studio.extensions.easyshare inside nuxeo-easyshare-7.10-HF02.jar /OSGI-INF/extensions.xml

Extension point

Extension point filters of component ActionService.

Contributed items

  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>EasyShareFolder</type>
            <condition>!document.isImmutable()</condition>
            <condition>#{typeManager.getAllowedSubTypes(document.getType(), document).size() &gt; 0}</condition>
          </rule>
        </filter>
  • <filter id="denyForEasyShareFolder">
          <rule grant="false">
            <type>EasyShareFolder</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>EasyShareFolder</type>
        <condition>!document.isImmutable()</condition>
        <condition>#{typeManager.getAllowedSubTypes(document.getType(), document).size() &gt; 0}</condition>
      </rule>
    </filter>
    <filter id="denyForEasyShareFolder">
      <rule grant="false">
        <type>EasyShareFolder</type>
      </rule>
    </filter>

  </extension>