-
Type: User story
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Web UI
-
Release Notes Description:
-
Epic Link:
-
Tags:
-
Sprint:nxGang Sprint 10.1.4, nxGang Sprint 10.1.5
-
Story Points:1
As an User with Write permission
I want to delete a file temporarily
So that I can restore a delete action
Proposed solution
If a user has ‘Write’ or ‘Manage Everything’ permissions on a document the user can delete a document.
When a document is deleted, it should be permanently deleted but, rather, have its state changed to ‘Delete’.
When one or more items are deleted, a toast should appear:
- With the message eg. “6 deleted.”
Acceptance criteria
Given I have write permissions on a document
When I navigate to that document
Then I have a delete action
Given I don't have write permissions on a document
When I navigate to that document
Then I don't have a delete action
Given I have write permissions on a document
I press delete action
Then The document will change to deleted "soft" mode and visible and a toast is shown
Given I have write permissions on a deleted document
When I navigate to it
Then I see the document view content
Implementation details
- Rework the delete endpoints and operations to trash the document instead of deleting permanently.
- Need to add delete button on web ui to delete the current document and return to its parent. Keep in mind that the user might not have permissions to read the parent document.
- depends on
-
NXP-24280 Evolve automation and restful endpoints to support trash flow
- Resolved
- is related to
-
ELEMENTS-535 Add elements for (un)trash actions
- Resolved