LiteCore as server?

6 views
Skip to first unread message

Adam Wilson

unread,
Feb 14, 2018, 2:54:44 PM2/14/18
to Couchbase Mobile
After a little clarfification in this thread on peer to peer replication, I have some questions regarding the use of LiteCore as a "server":

  1. Would it still be possible to authenticate a user and only replicate "their" documents when doing a pull replication?
  2. Would there be any disadvantages of doing it this way rather than using SG 2.0 and Couchbase Server?
Thanks

Jens Alfke

unread,
Feb 15, 2018, 6:20:00 PM2/15/18
to Couchbase Mobile

On Feb 14, 2018, at 11:54 AM, Adam Wilson <adam.el...@gmail.com> wrote:

  1. Would it still be possible to authenticate a user and only replicate "their" documents when doing a pull replication?
The replication-listener code in LiteCore doesn’t currently support any form of authentication.
(It’s also worth noting that this code is only in the (paid) Enterprise Edition, not in the open source repo.)

LiteCore has no notion of ownership of documents or of per-document access control, so there’s no way to filter to “their” documents. That’s a big part of what you get from Sync Gateway.

—Jens

Jens Alfke — Mobile Architect — Couchbase, Inc.

Reply all
Reply to author
Forward
0 new messages