Hi Peter,
A read-only database can be achieved with a combination of user roles and a validate_doc_update function. I wrote a Medium post on the topic some time ago, hope it could be of some help: https://medium.com/@eiri/couchdb-authorization-in-a-database-58c8ee633c96 Regards, Eric > On Nov 1, 2018, at 15:45, Peter J Krawetzky <[email protected]> wrote: > > Where and how doe I create a read only function for a database? I've tried > several different methods and looks at various examples from googling this > but nothing works. When I logon with a non-admin account I can still create > new documents, delete documents, etc. > > Thanks.
