webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

Allow to delete/archive voxelytics workflow reports

Open fm3 opened this issue 1 year ago • 3 comments

Occasionally, users want to delete voxelytics workflow reports to avoid sharing secret information. We should have a look how such a functionality would fit in.

fm3 avatar Aug 05 '24 12:08 fm3

+1

Tobias314 avatar Aug 16 '24 11:08 Tobias314

I’d say a delete route makes sense. Delete by hash. Only allowed for superusers. Use hard DELETE in postgres. This needs to cascade to all voxelytics tables. If the _voxelytics_workflowHash is referenced in the jobs tables, set it to NULL there.

Add a button in frontend in workflow view, with confirm modal.

an isDeleted boolean would not work well, because the hash would stay reserved. I think a hard delete is ok.

fm3 avatar Oct 23 '24 11:10 fm3