prevent unwanted DB access in readonly mode
readonly mode backend changes
readonly mode backend changes