Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 509AF10E65 for ; Tue, 11 Nov 2014 00:29:35 +0000 (UTC) Received: (qmail 17771 invoked by uid 500); 11 Nov 2014 00:29:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 17710 invoked by uid 500); 11 Nov 2014 00:29:34 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 17670 invoked by uid 99); 11 Nov 2014 00:29:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2014 00:29:34 +0000 Date: Tue, 11 Nov 2014 00:29:34 +0000 (UTC) From: "Mike Wallace (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-2452) Provide _users DB security when _users DB is on the clustered interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205664#comment-14205664 ] Mike Wallace commented on COUCHDB-2452: --------------------------------------- The above commits get the tests in share/www/script/test/users_db_security.js passing against the clustered port. I haven't figured out an elegant way of getting the tests to run first against an authentication DB on the admin port and then on the clustered port so currently I am testing it by applying a rather ugly hack to the javascript tests [1]. These commits aren't quite ready for review - now that the tests are passing I'd like to go over them with a fresh pair of eyes and make sure I'm happy with the approach being taken for the fixes. [1] https://gist.github.com/mikewallace1979/26ab223d3d0cfa372acb > Provide _users DB security when _users DB is on the clustered interface > ----------------------------------------------------------------------- > > Key: COUCHDB-2452 > URL: https://issues.apache.org/jira/browse/COUCHDB-2452 > Project: CouchDB > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Database Core > Reporter: Mike Wallace > > The authentication DB (default name _users) has special security semantics which are currently only supported on the admin port (default 5986). Since we support using the _users DB on the clustered port we should also ensure the same security semantics apply there. -- This message was sent by Atlassian JIRA (v6.3.4#6332)