diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-02-12 05:38:57 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-02-12 05:38:57 +0000 |
commit | 64a52c788a5b7efb633b8a09d495665ed9a976b7 (patch) | |
tree | 2e787ce0fde0a07e353279b2b5ab45f9691a39f5 /share/www/script/test/security_validation.js | |
parent | 15d10793a32a5fa57c80e9eab8803dc7d284ca6d (diff) |
move from _admins / _readers / _security to just a single _security object
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@909247 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/security_validation.js')
-rw-r--r-- | share/www/script/test/security_validation.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/www/script/test/security_validation.js b/share/www/script/test/security_validation.js index d618a5ac..94fe62c4 100644 --- a/share/www/script/test/security_validation.js +++ b/share/www/script/test/security_validation.js @@ -105,7 +105,9 @@ couchTests.security_validation = function(debug) { } // set user as the admin - T(db.setDbProperty("_admins", {names : ["Damien Katz"]}).ok); + T(db.setSecObj({ + admins : {names : ["Damien Katz"]} + }).ok); T(userDb.save(designDoc).ok); |