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

Hide Aspera document action for Root, Domain, and WorkspaceRoot

    XMLWordPrintable

    Details

      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

            • Assignee:
              Unassigned
              Reporter:
              vdutat Vincent Dutat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: