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

Retention addon - Only the creator can edit a record after legal hold removal or after retention period expired

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF43, 10.10-HF47
    • Fix Version/s: 10.10-HF53, 2021.10
    • Component/s: Retention
    • Release Notes Summary:
      Automatic versioning is disabled on Record documents.
    • Backlog priority:
      900
    • Upgrade notes:
      Hide

      Automatic versioning does not apply on Record documents anymore.

      Show
      Automatic versioning does not apply on Record documents anymore.
    • Sprint:
      nxplatform #45

      Description

      Description

      After apply and then remove a legal hold, only the creator of the document can edit it.

      The other granted users can delete it but not replace the file.

      Related to the attached screenshot, the user "editor" creates the document, apply and remove the legal hold. Then the "Administrator" (standard nuxeo admin account) tries to replace the file after legal hold is removed.

      Also attached the json when in legal hold and after legal hold removal.

      Steps to reproduce

      1. As a granted user (edit and manageLegalHold at least), create a document
      2. Apply a legal hold
      3. Remove the legal hold
      4. Sign out and sign in with the Administrator account
      5. Go to the document and try to replace the main file
      6. As a granted user (edit and manageRecords at least), create a retention rule with 1 day of retention period
      7. Create a document
      8. Apply the retention rule to the document
      9. Once the retention has expired, sign in with the Administrator account
      10. Go to the document and try to replace the main file

      Observed result

      5. & 10. The replacement fails

      Expected result

      5. & 10. the file is replaced

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: