On Monday, May 19, 2014 9:07:52 AM UTC-7, Joel Saltzman wrote: > > I'm looking to allow users to create their own accounts and have private > access to only their content in the database. e.g. I don't want user A to > sync any of user B's info. The easiest example I can think of is github > users and repos. I understand that I should add to _users and create > channels for each user. > > Is there a way to do this through couchbase lite or do I have to create a > separate script server side (like in php or something) to modify the _users > info? >
The sync function API allows you to have documents which make those sort of changes dynamically. Here are the docs, we are working on more tutorials: http://docs.couchbase.com/sync-gateway/#sync-gateway-apis Chris -- 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/470dede9-554d-463c-a74f-048c1c4a8d91%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
