-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support read-only mode for V1 #1689
Comments
Totally agreed! A read-only Fractal V1 mode seams reasonable to me and fulfills the core requirement of: V1 is turned off, but I can still see what I processed in V1. The fine parts that could make this somewhat tricky:
|
The naive approach is that each one of those operations would trigger a 422 error saying "Legacy API is in read-only mode.". Note the difference with
This is a GET call |
Re-thinking about #1655: does it make sense to move from
FRACTAL_API_V1_MODE="include_without_submission"
toFRACTAL_API_V1_MODE="include_read_only"
? (cc @jluethi)That is: when the user cannot submit jobs, is it still necessary that they can create/modify/delete projects/workflows/tasks/... ? I'd say we should simply disable any
/api/v1/
endpoint apart from the GET ones.The text was updated successfully, but these errors were encountered: