couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowalski <...@git.apache.org>
Subject [GitHub] couchdb pull request: Fauxton: Fix error if anon. user tries to cr...
Date Thu, 06 Mar 2014 16:31:11 GMT
GitHub user robertkowalski opened a pull request:

    https://github.com/apache/couchdb/pull/167

    Fauxton: Fix error if anon. user tries to create Admins

    This fixes the error message if people try to create an admin without being an admin.
    
    I also DRY'd up the code a little bit and I am using the server response here instead
of duplicating it. But there are still some errorstrings needed on the clientside, e.g. for
the immediate validations on the client.
    
    I am happy to rebase/squash, if you want me to.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robertkowalski/couchdb COUCHDB-2170/admin-anonymous-user

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb/pull/167.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #167
    
----
commit aab1d7046bd1473a4671d1b95e926292f7aa4288
Author: Robert Kowalski <rok@kowalski.gd>
Date:   2014-03-06T16:23:34Z

    Fauxton: Fix error if anon. user tries to create Admins
    
    Fixes #COUCHDB-2170

commit 9a61a5eb718c928a2cb3998b7e353287562d18bf
Author: Robert Kowalski <rok@kowalski.gd>
Date:   2014-03-06T16:24:46Z

    Fauxton: dry up promise error callbacks

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message