Hi,
I use the following:
{
"log":["CRUD+", "REST+", "Changes+", "Attach+"],
"databases": {
"contacts":{
"server":"http://localhost:8091",
"bucket":"_contacts",
"sync":`function(doc) {
access("nu", "nu");
channel("nu_alt");
}`,
"users":{
},
"shadow":{
"server":"http://localhost:8091",
"bucket":"contacts"
}
}
}
}
to isolate the replication of channel “nu” for user named “nu”.
But i get:
MultiChangesFeed: channels expand to channels.TimedSet{"!":0x1, "vj":0x2a, "vj_alt":0x2b} ... (to nu) ...and so on
the user nu has the following config (registered with sync gateway):
{"name":"nu","admin_channels":["nu"],"all_channels":["!","nu"]}
What am i doing wrong?
Thanks