Project

General

Profile

Actions

Feature #19080

open

When item is in trash, offer to remove it from trash

Added by Peter Amstutz over 2 years ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Target version:
Story points:
-

Description

In workbench 1, if you try to go to a collection, project, container request, etc that has been trashed (or contained within a project that has been trashed), it will tell you that it was trashed and, if you have write permission, give you the option to un-trash it.

This feature should be re-implemented in Workbench 2.

It should work for collections, projects, workflows and container requests.

When showing the "NotFoundView" it should:

  1. get the uuid of the item
  2. do some sanity checking, for example check that the object type matches the route (e.g. collections must contain -4zz18-)
  3. try to fetch the object with include_trashed=true
  4. if it still returns 404, it doesn't exist or the user doesn't have permission to read it
  5. for collections and groups, check if is_trashed is set. If so, display a message "This item is in the trash". If the user has can_write permission, display "do you wish to remove it from the trash?" and a "toggle trash" button for this item.
  6. if it isn't a collection or group, or is_trashed is not set on the immediate item, then search ancestors for a parent where is_trashed is set and the user has can_write permission.
  7. If so, display a message "This is contained in a project that is in the trash". If the user has can_write permission on the project, display "do you wish to remove the project from the trash?" and a "toggle trash" button for the project.

Related issues

Related to Arvados - Bug #21067: Process panel needs to handle trashed/deleted output and log collections properlyResolvedPeter Amstutz10/26/2023Actions
Actions #1

Updated by Peter Amstutz over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2022-05-25 sprint to 2022-06-08 sprint
Actions #3

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2022-06-08 sprint to 2022-07-06
Actions #4

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2022-07-06 to 2022-07-20
Actions #5

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2022-07-20 to 2022-08-03 Sprint
Actions #6

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2022-08-03 Sprint to 2022-08-31 sprint
Actions #7

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2022-08-31 sprint to 2022-09-28 sprint
Actions #8

Updated by Peter Amstutz over 2 years ago

  • Target version changed from 2022-09-28 sprint to 2022-10-12 sprint
Actions #9

Updated by Peter Amstutz about 2 years ago

  • Target version changed from 2022-10-12 sprint to 2022-10-26 sprint
Actions #10

Updated by Peter Amstutz about 2 years ago

  • Target version changed from 2022-10-26 sprint to 2022-11-09 sprint
Actions #11

Updated by Peter Amstutz about 2 years ago

  • Target version changed from 2022-11-09 sprint to 2022-11-23 sprint
Actions #12

Updated by Peter Amstutz about 2 years ago

  • Target version changed from 2022-11-23 sprint to 2022-12-07 Sprint
Actions #13

Updated by Peter Amstutz about 2 years ago

  • Target version changed from 2022-12-07 Sprint to 2022-12-21 Sprint
Actions #14

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2022-12-21 Sprint to 2023-02-01 sprint
Actions #15

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2023-02-01 sprint to 2023-02-15 sprint
Actions #16

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2023-02-15 sprint to Future
Actions #17

Updated by Peter Amstutz about 1 year ago

  • Target version changed from Future to Development 2023-11-29 sprint
Actions #18

Updated by Peter Amstutz about 1 year ago

  • Target version changed from Development 2023-11-29 sprint to Development 2023-11-08 sprint
Actions #19

Updated by Peter Amstutz about 1 year ago

  • Related to Bug #21067: Process panel needs to handle trashed/deleted output and log collections properly added
Actions #20

Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)
Actions #21

Updated by Peter Amstutz about 1 year ago

  • Target version changed from Development 2023-11-08 sprint to Development 2023-11-29 sprint
Actions #22

Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)
  • Subject changed from Offer to un-trash items, instead of "not found" dialog to When item is in trash, offer to remove it from trash
Actions #23

Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)
Actions #24

Updated by Peter Amstutz about 1 year ago

  • Target version changed from Development 2023-11-29 sprint to Development 2024-01-03 sprint
Actions #25

Updated by Peter Amstutz 12 months ago

  • Target version changed from Development 2024-01-03 sprint to Development 2024-01-17 sprint
Actions #26

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2024-01-17 sprint to Development 2024-02-14 sprint
Actions #27

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2024-02-14 sprint to Development 2024-02-28 sprint
Actions #28

Updated by Peter Amstutz 9 months ago

  • Target version changed from Development 2024-02-28 sprint to Development 2024-03-27 sprint
Actions #29

Updated by Peter Amstutz 9 months ago

  • Target version changed from Development 2024-03-27 sprint to Development 2024-04-24 sprint
Actions #30

Updated by Peter Amstutz 8 months ago

  • Target version changed from Development 2024-04-24 sprint to Development 2024-05-08 sprint
Actions #31

Updated by Peter Amstutz 8 months ago

  • Target version changed from Development 2024-05-08 sprint to Development 2024-06-05 sprint
Actions #32

Updated by Peter Amstutz 7 months ago

  • Target version changed from Development 2024-06-05 sprint to Future
Actions

Also available in: Atom PDF