Currently, we only allow deletion of workflows in the following states: created, finished, stopped, failed (code here)
We should allow as well deletion of queued jobs. It could happen that the queue is full and user realises just after submitting that the workflow contains a mistake and wants to delete it (suggested in https://gitter.im/reanahub/reana?at=5d07a5b5fbcc305cc488a4d0).
Currently, we only allow deletion of workflows in the following states:
created
,finished
,stopped
,failed
(code here)We should allow as well deletion of
queued
jobs. It could happen that the queue is full and user realises just after submitting that the workflow contains a mistake and wants to delete it (suggested in https://gitter.im/reanahub/reana?at=5d07a5b5fbcc305cc488a4d0).Thanks @irinaespejo for the feedback!