The problem is I have multiple couchdb local clients databases say A_db, B_db, C_db which is replicating to a couchdb server master database says server_db. Now each client is creating a document say A_doc, B_doc, C_doc in their local db which automatically replicating to server_db. So now server_db will have 3 documents, one for each client. Since every client can see all documents of server_db using
server_db/_all_docs?include_docs=true
But I want to restrict clients to read/write other client documents which is on server_db. And only server_db admin to view documents all documents.