Skip to content
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

add a read-only mode to prevent writing to the database #13

Open
2 tasks
MoralCode opened this issue Oct 12, 2022 · 0 comments
Open
2 tasks

add a read-only mode to prevent writing to the database #13

MoralCode opened this issue Oct 12, 2022 · 0 comments

Comments

@MoralCode
Copy link
Owner

this can be useful for upgrades, migrations, backups .etc to avoid requiring complete downtime since limiting write access will only affect a small portion of users (admins) who likely aren't doing admin tasks that frequently anyway.

  • allow for read-only mode to be toggled without restarting the API
  • allow the API to proactively communicate whether it is in read only mode so the frontend can display a notice to users so they don't attempt to make any new changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant