opensafely-core / airlock

Other
0 stars 0 forks source link

Show in the workspace UI whether a file has already been released #381

Closed madwort closed 1 week ago

madwort commented 1 month ago

Following on from #344 :

Show (in the tree and in contents) that a file you are viewing has been already been released. Also prevent a researcher from adding that file as an output file to a new request.

madwort commented 2 weeks ago

At the moment, if someone attempts to release a request that contains a file that has previously been released, job-server will fail to release.

This is potentially a problem if a release request is reviewed & approved, as it will be stuck unable to release (as release approved is a final state, which means it cannot be modified to withdraw the offending file).