Question 1:
How can I use the changes feed so that all documents appear in the feed, irrespective of changes? How do I call the changes feed for all collections?
Question 2:
I am trying to fetch documents based on the channels using _changes?filter=sync_gateway/bychannel&channels=*&collection=_default.dbc_user,_default.dbc_locations
, but nothing is appearing. i have channles update in the couchbase and used below config to create a sg user
curl --location -g --request POST 'http://localhost:4985/test/_user/' --header 'Content-Type: application/json' --header "Authorization: Basic $DIGEST" --data-raw '{
"name": "username",
"password": "passowrd",
"admin_channels": ["*"]
}’
``
Do i need to add anythinng in the create user config.
I have fetched created user from the SG
{"collection_access":{"_default":{"dbc_man_hours_locations":{"all_channels":["!"]},"dbc_telemetry_device":{"all_channels":["!"]}}}
This means that user do no not have permission to get the collection information?
pull replication was not happing with couch base lite because
Changes: c:[176b8107] db:gh-ucil-test col:dbc_util_operator_navigations Channels [ config ] request without access by user nodeserver