Re: 2.0 _users Views

2016-10-05 Thread max
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 : > Hi, > > I'm using a

Re: 2.0 _users Views

2016-10-05 Thread max
Sorry for double post but now it seems that require_valid_user doesn't work at all. Everything is public, _users and other databases. Here is _config: { "native_query_servers":{ "query":"{mango_native_proc, start_link, []}" }, "httpd_design_handlers":{

Re: 2.0 _users Views

2016-10-05 Thread max
Once I started to put public fields in configuration file, "doc" field was not null anymore. 2016-10-05 10:44 GMT+02:00 max : > Correction: > > I have also noticed that when I try to get this view **without** auth, > couchdb answer is "only admin are..." but couchdb should

CouchDB 2.0 Command Line Options

2016-10-05 Thread Maggie.Jiang
Hi, I'm looking to point to a different local.ini than the one located in the CouchDB 2.0 etc folder. Is there a way to specify this when starting up CouchDB or is there another way? Looking at the docs, it seems like we should still be using the "-a" option but after looking at the startup

Re: _users upload attachment

2016-10-05 Thread Robert Samuel Newson
fyi diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl index 07a5eba..1b7fb55 100644 --- a/src/chttpd_db.erl +++ b/src/chttpd_db.erl @@ -1222,7 +1222,7 @@ db_attachment_req(#httpd{method=Method, user_ctx=Ctx}=Req, Db, DocId, FileNamePa couch_doc:validate_docid(DocId),