ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
46 stars 27 forks source link

A study can be deleted while locked #3898

Closed GitHK closed 1 year ago

GitHK commented 1 year ago

It is possible to delete a study via the webserver API if it is still locked. This should raise an error!

Side effect, the sidecar is still trying to save the study and can fail with Insufficient access rights to write.

_dy-sidecar_857aa40c-b5b8-5e07-aa5d-fb3a44b6023d.1.nt86cemvxi3gibb7ovwocswqp_logs.log

GitHK commented 1 year ago

Missing lock check in https://github.com/ITISFoundation/osparc-simcore/blob/71e4bbc6e5fff43c7e3ca61a74ee79cd7d02c0bb/services/web/server/src/simcore_service_webserver/projects/projects_handlers_crud.py#L668-L724