Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several backports from master #948

Merged
merged 7 commits into from
Nov 1, 2017
Merged

Several backports from master #948

merged 7 commits into from
Nov 1, 2017

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.

None yet

4 participants