Jay Doane created COUCHDB-2865:
----------------------------------
Summary: 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)