Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30904

Hide Aspera document action for Root, Domain, and WorkspaceRoot

    XMLWordPrintable

    Details

    • Sprint:
      Connectors Sprint 13 - Sep
    • Story Points:
      2

      Description

      In the Web UI, when navigation to documents of type Root, Domain, and WorkspaceRoot, the asperaAction document action should not be shown OOTB.

      Workaround:

      <nuxeo-slot-content name="asperaAction" slot="DOCUMENT_ACTIONS" disabled></nuxeo-slot-content>
      <nuxeo-slot-content name="asperaAction" slot="DOCUMENT_ACTIONS">
        <template>
          <nuxeo-filter document="[[document]]" user="[[user]]" expression="document.type !== 'Root' && document.type !== 'Domain' && document.type !== 'WorkspaceRoot' && document.facets.indexOf('Folderish') !== -1 && this.hasPermission(document, 'ReadWrite')">
            <template>
              <nuxeo-aspera-document-action document="[[document]]"></nuxeo-aspera-document-action>
            </template>
          </nuxeo-filter>
        </template>
      </nuxeo-slot-content>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: