If some docs’s channel that have been synced into Couchbase Lite
has changed, How can I only query the docs that I have right to query.
for example,
docA has channelA,
docB has channelB,
docC has channelC,
and user1 have right of channelA and channelB and channelC,
and if sync started,
docA and docB and docC will synced to user1.
now channelC’s right be removed from user1,so user1 should only query docA and docB, but for
https://github.com/couchbase/sync_gateway/issues/264
docC will not be deleted in CouchbaseLite.
so I want to only query docA and docB, How should I do?