> On Dec 4, 2014, at 3:02 PM, James Nocentini <
james.n...@gmail.com> wrote:
>
> Thanks for posting this. Here are some moments I picked from it
http://cl.ly/Ype5/jNLBJjLJCq0.mp4
>
> I was wondering how to subscribe to the _changes feed when disabling the guest account.
> As mentioned in the video using the admin port works great on the same private network.
> Wondering how that would work across the public network.
You shouldn't make the admin port accessible on a public network because it has unlimited privileges and no authentication, and anyone could use it to hack your database.
> Would creating an admin user that has access to all channels and authenticate as this user when subscribing to _changes feed work as well?
Yup, that would be fine. You just need to set that user up with "admin_channels":"*".
> A side question: I remember reading in a discussion thread that when changing the sync function it will be re-executed on all documents in couchbase server.
> But I don't notice that happening. Is there something to do to run the sync function on all documents again?
We changed that behavior in 1.0.3(?) because re-syncing all the documents can be very slow, and a lot of changes to the sync function don't require it. So there's now an API call to force a re-sync; I think it's POST /_db/_resync. It's in the API docs.
—Jens