You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2020/01/04 17:42:14 UTC

[couchdb] 02/02: Allow edits on _users security for the JS test

This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch feature/user-db-security-obj-readonly
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit b5b63e399718b18b2c819141951fa2b953b7b99c
Author: Alexis Côté <al...@hotmail.com>
AuthorDate: Sat Dec 22 13:22:41 2018 -0500

    Allow edits on _users security for the JS test
---
 test/javascript/tests/users_db_security.js | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/test/javascript/tests/users_db_security.js b/test/javascript/tests/users_db_security.js
index 1db6c14..faffd8c 100644
--- a/test/javascript/tests/users_db_security.js
+++ b/test/javascript/tests/users_db_security.js
@@ -374,10 +374,22 @@ couchTests.users_db_security = function(debug) {
   };
 
   run_on_modified_server(
-    [{section: "couch_httpd_auth",
-      key: "iterations", value: "1"},
-   {section: "admins",
-    key: "jan", value: "apple"}],
+    [
+        {
+          section:"couchdb",
+          key:"users_db_security_editable",
+          value:"true"
+        },
+        {
+          section: "couch_httpd_auth",
+          key: "iterations",
+          value: "1"
+        },
+        {
+          section: "admins",
+          key: "jan",
+          value: "apple"
+        }],
     function() {
       try {
         testFun();