Is it possible to use replicated CouchDB replication to replicate only a subset of ACLed data for a user?

In particular, is it possible to filter replication using PouchDB? I want to make sure that the client cannot lower the filter and thus synchronize with the entire database.

+5
source share
1 answer

There is no CouchDB replication protocol. The replication process is just a client connecting to two CouchDB endpoints, reading documents from one and writing them to another. Of course, CouchDB comes with such a client ("replicator") built-in; but conceptually this is a third-party application.

, . - . . - HTTP- (, , ).

.

, PouchDB CouchDB:

  • , - validate_doc_update.
  • , - _security, "members". , . , .
+5

All Articles