This adds an API_READ_ONLY environment variable, which blocks API operations that create/update/delete versions, annotations, etc. when set to "true". Since we ware now working towards shutting down the entire system, this is helpful so we can work on creating archival data without worrying about the database changing from underneath us. See edgi-govdata-archiving/web-monitoring#170.
This adds an
API_READ_ONLY
environment variable, which blocks API operations that create/update/delete versions, annotations, etc. when set to"true"
. Since we ware now working towards shutting down the entire system, this is helpful so we can work on creating archival data without worrying about the database changing from underneath us. See edgi-govdata-archiving/web-monitoring#170.