Is it possible to restrict a document access in synced mobile devices?
My use case: there are several mobile users that live in an area without internet access. I am creating an app for them to gather some data, that uses couchbase lite. The users in this community will sync the data between their devices.
Eventually, one of the users will go to an area with internet access and upload all community data to a sync gateway, also receive some data that will be shared back with the community.
It would be important that each user’s data only be open to read by himself/herself and by the admin in the couchbase server. In the devices of other users in the community, the user data should be encrypted.
Does couchbase implement any feature to do this access control? For instance, document encryption, or other?