Project

General

Custom queries

Profile

Actions

Feature #19080

open

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

Added by Peter Amstutz almost 3 years ago. Updated 11 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 1 (0 open1 closed)

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

Updated by Peter Amstutz almost 3 years ago

  • Description updated (diff)
#2

Updated by Peter Amstutz almost 3 years ago

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

Updated by Peter Amstutz almost 3 years ago

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

Updated by Peter Amstutz almost 3 years ago

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

Updated by Peter Amstutz almost 3 years ago

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

Updated by Peter Amstutz almost 3 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz over 2 years ago

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

Updated by Peter Amstutz about 2 years ago

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

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
#21

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz over 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
#23

Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
#24

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz over 1 year ago

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

Updated by Peter Amstutz about 1 year ago

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

Updated by Peter Amstutz about 1 year ago

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

Updated by Peter Amstutz 12 months ago

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

Updated by Peter Amstutz 12 months ago

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

Updated by Peter Amstutz 11 months ago

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

Also available in: Atom PDF