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

Add Flexible Record support to the retention addon java api

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Retention addon can now create flexible records which can be unretained with the UnsetRetention permission
    • Release Notes Description:
      Hide

      The retenion rules have a new retention_rule:flexibleRecords boolean property (default value false). If true, such retention rule attached to a document will turn it into a flexible record, enforced otherwise (i.e. previous default behavior).

      A user with the UnsetRetention permission can unattach a retention rule from a flexible record with the new Document.UnattachRetentionRule automation operation. This action stops the current retention on the record document if any.

      Show
      The retenion rules have a new retention_rule:flexibleRecords boolean property (default value false). If true , such retention rule attached to a document will turn it into a flexible record, enforced otherwise (i.e. previous default behavior). A user with the UnsetRetention permission can unattach a retention rule from a flexible record with the new Document.UnattachRetentionRule automation operation. This action stops the current retention on the record document if any.
    • Tags:
    • Sprint:
      nxplatform #95
    • Story Points:
      8

      Description

      Following work done in NXP-31968, we'll leverage the new makeFlexibleRecord CoreSession API.

      We will add a boolean flag to the retention rule's data model which will tell whether the rule will turn documents into flexible records or enforced records to cover NXP-31879 and NXP-31880.

      We will also add a new Automation operation to unattach rule/unset retention if the document is a flexible record to cover NXP-31881 and NXP-31883. NXP-31884 needs to be checked to..

      We will also need to evolve the existing RetentionManagerImpl#attachRule method to be able to reattach rule as described in NXP-31886 because today rules can only be attached on documents that are not a record yet.

      NOTE this ticket only covers the java code/API, another dedicated ticket is required for the UI evolution

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: