Implement GRAILS-10064 Make it possible to set the OSIV session to read-only by default