I see, but what are actually these accounts.
In my my current sync these functions "channel" and "requireUser" will not 
work? What should I explicitly add to enforce the filters and rules?

Snippet from the sync config:
 
"
            "users": {
                "GUEST": {
                    "disabled": true}
            },

 if (doc.type == "ReponseQuestionnaire") {
          // give user access to his survey Answers
 var user = doc.idClient.substring(doc.idClient.indexOf(":")+1);
          access(user, "survey-" + user);
          // add doc to user's  channel
          channel("reponseQuestionnaire- " + user);
     requireUser(user);

        }
"


-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/cda6ddf9-df8b-4fbe-89d9-4732367d0cee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to