Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.dam.actions--filters

This contribution is part of XML component org.nuxeo.dam.actions inside nuxeo-dam-web-5.6-RC3.jar

Extension point

Extension point filters of component ActionService.

Contributed items

  • <filter id="damCanBulkEdit">
          <rule grant="true">
            <condition>#{bulkSelectActions.canEditAssets}</condition>
          </rule>
        </filter>
  • <filter id="damCanDelete">
          <rule grant="true">
            <condition>#{deleteActions.canDelete}</condition>
          </rule>
        </filter>
  • <filter id="damCanExport">
          <rule grant="true">
            <condition>#{bulkSelectActions.isSelectionNotEmpty}</condition>
          </rule>
        </filter>
  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <facet>Folderish</facet>
            <type>ImportRoot</type>
            <type>ImportFolder</type>
            <type>ImportSet</type>
          </rule>
        </filter>

XML source

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

    <filter id="damCanBulkEdit">
      <rule grant="true">
        <condition>#{bulkSelectActions.canEditAssets}</condition>
      </rule>
    </filter>

    <filter id="damCanDelete">
      <rule grant="true">
        <condition>#{deleteActions.canDelete}</condition>
      </rule>
    </filter>

    <filter id="damCanExport">
      <rule grant="true">
        <condition>#{bulkSelectActions.isSelectionNotEmpty}</condition>
      </rule>
    </filter>

    <filter append="true" id="create">
      <rule grant="true">
        <permission>AddChildren</permission>
        <facet>Folderish</facet>
        <type>ImportRoot</type>
        <type>ImportFolder</type>
        <type>ImportSet</type>
      </rule>
    </filter>

  </extension>