-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF51, 11.5, 2021.7
-
Component/s: Retention
-
Release Notes Summary:Only granted users can delete and trash content under retention or legal hold.
-
Epic Link:
-
Upgrade notes:
-
Sprint:nxApps 2021 Cycle 6
User story
As a platform administrator, I want to configure if a granted user can delete or trash a document under retention and/or legal hold.
As a user with a specific role and ONLY in case of the retention addon is configured to allow it, I can delete a document under retention or under legal hold, so that I can delete content in case of mistake (wrong retention period) or in case of legal change with retroactive application.
Description
The goal is to maintain a high level of security by using retention features but with more flexibility (except with the Compliance mode) as power users can delete a record under retention or legal hold.
This improvement requires to create a specific user group: NuxeoRecordCleaners
To be enabled, this capability requires the following configuration:
- "Compliance mode" (nuxeo.retention.compliance.enabled in nuxeo.conf) must NOT be enabled (e.g nuxeo.retention.compliance.enabled CANNOT = true)
- the specific group NuxeoRecordCleaners is created from the admin menu
Acceptance criteria
When the retention addon is NOT configured in Compliance mode:
- As a user with ManageRecord permission, I CANNOT delete a document under retention or legal hold
- As a user with Remove permission but not belonging to the NuxeoRecordCleaners group, I CANNOT delete a document under retention or legal hold
- As a user with Remove permission and belonging to the NuxeoRecordCleaners group, I can delete a document under retention or legal hold
- As an administrator, I CANNOT delete a document under retention or legal hold
- As a user with ManageRecord permission, I CANNOT trash a document under retention or legal hold
- As a user with Remove permission but not belonging to the NuxeoRecordCleaners group, I CANNOT trash a document under retention or legal hold
- As a user with Remove permission and belonging to the NuxeoRecordCleaners group, I can trash a document under retention or legal hold
- As an administrator, I CANNOT trash a document under retention or legal hold
When the retention addon is configured in Compliance mode (nuxeo.retention.compliance.enabled=true):
- As a user with ManageRecord permission, I CANNOT delete a document under retention or legal hold
- As a user with Remove permission but not belonging to the NuxeoRecordCleaners group, I CANNOT delete a document under retention or legal hold
- As a user with Remove permission and belonging to the NuxeoRecordCleaners group, I CANNOT delete a document under retention or legal hold
- As an administrator, I CANNOT delete a document under retention or legal hold
- As a user with ManageRecord permission, I CANNOT trash a document under retention or legal hold
- As a user with Remove permission but not belonging to the NuxeoRecordCleaners group, I CANNOT trash a document under retention or legal hold
- As a user with Remove permission and belonging to the NuxeoRecordCleaners group, I CANNOT trash a document under retention or legal hold
- As an administrator, I CANNOT trash a document under retention or legal hold
- causes
-
NXP-30572 Fix permission filtering for administrators
- Resolved
-
NXP-30678 Retention: context parameter permissions are empty for an admin user
- Resolved
- is duplicated by
-
NXP-30002 Retention Governance/"compliance light" mode - Allow for granted users to delete content under retention or legal hold
- Resolved
-
NXP-30003 Retention Governance mode - Handle S3 Governance mode
- Resolved
- is required by
-
NXP-30094 [CI] Allow Retention to use Governance Modes for AWS s3 storage on Previews
- Resolved
- Is referenced in