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

Add current document restore action

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF09, 10.1
    • Component/s: Web UI

      Description

      As a user with Manage Everything permission
      I want to restore a deleted document
      So that I can access it and have others access it

      Proposed solution

      If a user has ‘Manage Everything’ permissions on a document the user can restore a document.
      There should be two ways to do so, on the document and on a listing.
      On a deleted document, there should be a restore action.
      Some actions - edit, add to collection, favorite, alert, clipboard, lock, start process - should be removed.
      On a listing - grid and list -, the delete items should only have two actions, restore and permanently removed.
      Items should have a distinct look from non-delete items as there could be searches that display both types.
      When selected, the selection bar, should show a restore and a permanently delete action.
      After every restore action, a toast should appear indicating a that the documents were restore.

      Restoring a folderish document will restore all it’s children tree.
      Restoring a collection will not restore any of its contained documents.

      Acceptance criteria

      Given I have Manage Everything permissions on a deleted document
      When I navigate to that document
      ThenI have an info bar saying document is (soft) deleted with a restore and permanently delete actions

      Given I have read/write permissions on a deleted document
      When I navigate to that document
      Then I have an info bar saying document is (soft) deleted

      Implementation details

      • Add bar with trash notice and restore action.

        Attachments

        1. Trash-deleted-document.png
          166 kB
          Isabel Machado
        2. Trash-deleted-Permissions.png
          167 kB
          Isabel Machado

          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 - 2 hours, 15 minutes
                  2h 15m