I'm trying to implement document-level access control. My initial instinct is to simply add an attribute to the document (i.e. "access") and make it a list that I can keep appending users to (i.e. ["user1", "user2", "user3"]).
I can then use the sync gateway to make the document id a channel, then give all the users in the "access" attribute access to the channel. Is this the best way. I'm just concerned that the "access" list is going to get very big with a lot of users. Is there a smarter way? 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/d46ff7ba-0ea8-4096-b92b-8744260ad8be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
