> On Jul 16, 2015, at 9:04 AM, Simone Scarduzio <[email protected]> wrote: > > That would mean: tag any doc with "public" channel, and when the document is > a user profile (contains the email field), grant the user called like the > email read access to all documents in the "public”channel.
Sync Gateway user accounts are not documents. (That’s for security reasons, among others.) In Sync Gateway 1.1 there’s a public channel called “!” that you can use for docs that all users should have access to. Or if you want your own custom public channel, add it to the ‘admin_channels’ JSON property when you create the user account. —Jens -- 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/884BF219-3F5C-41C2-9E75-DDFD0200966D%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
