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

Open
opened 2022-10-12 22:43:08 +02:00 by MoralCode · 0 comments
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
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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ClassClock/API#13
No description provided.