SACGF / SACGF/variantgrid

Set system to read only mode

Open
#927 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
3
Avg merge
9h 28m
Merged PRs (30d)
42

Description

Sometimes when doing upgrades etc it would be good to have the system in a read only state

You could guarantee this by creating a read-only database user, then changing it in ```/etc/variantgird/settings_config.json```

This would likely throw heaps of errors - so a way to test this would be to make that user and see what dies

We could wrap everything (eg eventlog etc) behind ```settings.READ_ONLY_MODE``` and disable all POST/PUT

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.