-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
Overview:
Two label changes for file operations: (1) Add RENAME as a new file operation option in the policy criteria dropdown, and (2) rename "Delete" to "Delete (unlink)" for clarity in both the policy criteria and violation display.
Implementation Details:
Add ['RENAME', 'Rename'] to the fileOperationOptions array. Change ['UNLINK', 'Delete'] to ['UNLINK', 'Delete (unlink)']. Update the violation card label mapping in FileAccessCardContent.tsx.
Acceptance Criteria:
- RENAME appears as an option in the File Operation dropdown
- "Delete" displays as "Delete (unlink)" in policy criteria dropdown
- "Delete" displays as "Delete (unlink)" in violation FileAccessCard
- RENAME violations render correctly in the FileAccessCard (already handled)
Files to Update:
1. apps/platform/src/Containers/Policies/Wizard/Step3/policyCriteriaDescriptors.tsx:132-138 - fileOperationOptions
2. apps/platform/src/Containers/Violations/Details/FileAccessCardContent.tsx:11 - violation display label
Related Tickets: