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

Temporary Document Removal

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF09, 10.1
    • Component/s: Web UI
    • Release Notes Description:
      Hide

      Document deletion moves it to trash.

      Show
      Document deletion moves it to trash.
    • Epic Link:
    • Sprint:
      nxGang Sprint 10.1.4, nxGang Sprint 10.1.5
    • Story Points:
      1

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h