I think I still lack a more fundamental understanding of what's going on with the sync function. The part that's confusing me is what's happening _implicitly_.
If I understand correctly. Each time a document is created/updated the sync function is called. >From what I understand, there is an _implicit_ connection between a call to "access," "role," or "channel" and the document being created/updated. Now... If I want to remove a user's access to a document. I have 3 choices: 1) Stop routing the document to a channel that the usr has access to. 2) Remove the user's access to the channel that the document is routed to. 3) Remove the user from the role that has access to the channel the document is routed to To do 1) I simply don't call "channel" when a new revision of the doc is passed to the sync function. While the old revision may have been accessible to the user, the new revision will not be. That part is clear. But for some reason doing 2) and 3) is very fuzzy for me... Could someone help me better understand this? Something invisible and implicit is confusing me. slim -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/ff991fad-a67e-404f-89bf-3bbef4535296%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
