[
https://issues.apache.org/jira/browse/COUCHDB-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985690#comment-14985690
]
ASF GitHub Bot commented on COUCHDB-2865:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/couchdb-chttpd/pull/91
> Tests in chttpd_db_test rely on implicit admin authorization
> ------------------------------------------------------------
>
> Key: COUCHDB-2865
> URL: https://issues.apache.org/jira/browse/COUCHDB-2865
> Project: CouchDB
> Issue Type: Improvement
> Components: Test Suite
> Reporter: Jay Doane
>
> These tests currently work because they assume an admin party, which will
> implicitly grant the requestor the <<"_admin">> role, which is sufficient to
> permit the actions in the test using the CouchDB security model.
> Unfortunately when the tests are run under the Cloudant security model, the
> <<"_admin">> role is not sufficient to create dbs, nor perform the other
> actions required by the tests, causing them to fail.
> These tests could be improved by explicitly configuring an admin user, and
> then using that user's credentials for performing requests. A pleasant side
> effect is that the tests will also begin to run under Cloudant's eunit test
> suite again. A patch is forthcoming.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)