Greetings,

I have recently been working on an iOS with sync gateway in the back. i 
have created channels filtered by userIds(derived from a document 
attribute). I used the usual "requireUser()" to filter the sync, but I have 
been told that i need also to configure user accounts so each has access to 
the channel with the corresponding name, e.g. for user “foo” add 
“profile-foo” to the admin_channels property.  I don't have predefined user 
accounts since the user is created dynamicly on the first app launch after 
user enters his data in a "profile" document. In ther "users" part of the 
config sync i had "GUEST" set to disabled and the filtering channels have a 
format of channel("documentID" +doc.userID). I got pretty confused on how 
should i configure the user accounts admin_channel property. I am probably 
misunderstanding something.

Can anyone help please?

-- 
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/b2e2ebe5-4ae6-44b8-bd5f-55c2b564258f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to