Hi. I have two grails servers:
- Server - has read/write access to the database
- Web - has read-only access to the database, and for every write it sends a request to the server
The problem: How do I make the Web's domain objects read only in one place (config file) for the entire run of the application, instead of writing caching: 'read-only' for each domain class' mapping.