Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1652

Prevent replacing or removing an attachment under retention

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.26, 3.1.3
    • Component/s: 3D

      Description

      As an administrator, I can NOT add, replace or remove an attachment under retention (nuxeo-document-attachments element)

      AC
      When

      • a document is under retention and / or under legal hold
      • AND a multivalued property is configured to be retained (e.g., files:files)
      • AND this property is shown in the document view using the nuxeo-document-attachments widget (e.g., the default attachments widget for a File document type)

      Then:

      • As an administrator in Web UI, I can NOT replace the corresponding file(s) as the action is not available
      • As an administrator in Web UI, I can NOT remove the corresponding file(s) as the action is not available
      • As an administrator in Web UI, I can NOT add another file as the action is not available

      This behavior is applicable to:

      • default properties configured to be retainable
      • custom properties configured to be retainable using studio

      Notes:
      nuxeo-replace-blob-button
      nuxeo-delete-blob-button
      https://github.com/nuxeo/nuxeo-web-ui/blob/maintenance-3.0.x/elements/nuxeo-document-actions/nuxeo-replace-blob-button.js#L187 needs to be evolved

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: