couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: create_target isn't working with the _replicator db
Date Fri, 22 Jul 2011 15:43:29 GMT
On Fri, Jul 22, 2011 at 4:59 PM, kowsik <kowsik@gmail.com> wrote:
> If you have credentials and roles defined on the target DB, you need
> to set the the user_ctx in the _replicator doc. Something like this: {
> source ..., user_ctx: { roles: [ "admin" ] } }.
>
> K.
> ---
> http://blitz.io
> @pcapr
>

Yup, but I think that's a bug then. I shouldn't have to set any
userctx imo. If no admin has been set, every user is an admin except
if we change the default behavior and then it's not consistent.

- benoit

- benoƮt

Mime
View raw message