couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From max <maxima...@gmail.com>
Subject Re: 2.0 _users Views
Date Wed, 05 Oct 2016 08:44:10 GMT
Correction:

I have also noticed that when I try to get this view **without** auth,
couchdb answer is "only admin are..." but couchdb should ask me for
credentials since "require_valid_user" is true. Is this normal ?

2016-10-05 10:00 GMT+02:00 max <maxima078@gmail.com>:

> Hi,
>
> I'm using a View to fetch documents from _users database but when I query
> it with "include_docs=true", the doc field is "null".
>
> Some configuration properties:
> authentication_db : _users
> require_valid_user : true
> use_users_db : true
>
> I have also noticed that whane when I try to get this view with auth,
> couchdb answer is "only admin are..." but couchdb should ask me for
> credential since "require_valide_user" is true. Is this normal ?
>
> Thanks for couchdb 2.0 it's awesome.
>
> Max.
>
> PS: let me know if there is a way to use view with the public _users
> fonctionnality or at least to fetch a set of users from _users using or not
> the public part
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message