I was wondering if there is any way of ensuring that the N1QL REST API users can be configured as readonly?
In the documentation of N1QL over REST it says that there is a property that can ensure readonly behavior and that it can be overridden by an server-wide parameter:
readonly | Boolean | Optional. Always true for GET requests. By default, false for POST requests. If the server-wide readonly parameter is set to true, its setting supersedes the request readonly parameter.
- What is that server-wide parameter? How can it be modified? What will be the impact of changing it to be readonly?
- If it doesn’t work as i hope it will, what is the alternative? I would like to give readonly query permissions to support and sales co-workers without worrying about the consequences. Maybe a solution can be a one-way XDCR to another DC which will be exposed to them?