A new system boolean property "retentionActive" is added.
Delete method behavior of the core API is modified so that when deleting a given document, if among the list of all documents that will be deleted (because of herachical nature of the repository) one of them has the property retentionActive set to true, an exception InRetentionDocumentException is thrown, with list of concerned IDs.
This property can be set with a dedicated CoreSession or DocumentModel method (setRetentionActive (boolean)) if user session has write permisson on the document.
This minimal scope doesn't cover:
- import / export (anyway, the future retention management plugin adds facets that allows to get back that property value)
- marshaller json (although this one would be nice , to get a readonly information when having a document ressouce via rest api)
- NXQL
- Indexation Elastiscsearch
- is related to
-
NXP-22312 CoreSession.canRemoveDocument may incorrectly return true
- Open
-
NXP-22960 Folder deleted even though subfolder is locked
- Resolved
-
NXDOC-1464 Add documentation for the retention flag
- Open