In my sync function I call:
channel("*")
on a document, and I'm expecting now any authenticated user to be able to see the content of this document. But I'm proven wrong by reality.
I get forbidden to my request.
When I look at the metadata I see this:
"_sync": {
"rev": "1-1c42b022e1ce1aebba7cb6acbe80f463",
"sequence": 196,
"history": {
"revs": [
"1-1c42b022e1ce1aebba7cb6acbe80f463"
],
"parents": [
-1
],
"bodies": [
""
],
"channels": [
[
"*"
]
]
},
"channels": {
"*": null
},
"access": {
"c2c6671de7b6442aacd21c84383aaffe": {
"c2c6671de7b6442aacd21c84383aaffe": 196
}
},
"time_saved": "2015-03-17T21:16:07.687450231Z"
},
What am I doing wrong?