eallrich / checkniner

Tracking and reporting of airstrip/aircraft checkout information for pilots.
MIT License
2 stars 5 forks source link

Add a switch for toggling read-only mode across the entire app #12

Open eallrich opened 9 years ago

eallrich commented 9 years ago

When the site is undergoing maintenance, users should still be able to get reports. A read-only toggle would keep the app available even while updates or migrations are performed.

The easiest toggle mechanism is probably an environment variable. Will need to investigate how to integrate read-only restrictions in views which allow for editing operations.