Skip to content

Several backports from master#948

Merged
janl merged 7 commits intoapache:1.x.xfrom
kxepal:backports
Nov 1, 2017
Merged

Several backports from master#948
janl merged 7 commits intoapache:1.x.xfrom
kxepal:backports

Conversation

@kxepal
Copy link
Member

@kxepal kxepal commented Oct 31, 2017

COUCHDB-1356
COUCHDB-1447
COUCHDB-2310
COUCHDB-2375
COUCHDB-2534
COUCHDB-2845

robertkowalski and others added 7 commits October 31, 2017 23:23
When logging in with admin credentials and no user doc is
present, the name was `null`. Example:

`{"ok":true,"name":null,"roles":["_admin"]}`

closes COUCHDB-1356
CouchDB should return HTTP 400 instead of HTTP 500 response
when revision number isn't integer like "foo-bar" as like as it does
for completely invalid revisions like "foo".

COUCHDB-2375
- Use lists:member/2 to check if user name is in list
- Throw forbidden error if user is authenticated on db membership check
- Normalize terminology readers vs members
- Make checks more Erlang-ish

COUCHDB-2534
@kxepal kxepal requested review from janl and wohali October 31, 2017 20:25
@janl janl merged commit eeef2ee into apache:1.x.x Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants