diff options
author | Jan Lehnardt <jan@apache.org> | 2020-06-13 13:40:39 +0200 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2020-07-10 19:08:52 +0200 |
commit | 97a35791e71f9721cd6d099ea6ff951975c4b6eb (patch) | |
tree | 51f8bb553cde221d3c5a59e2db2d5b0d0da14ecd | |
parent | 5dc648d420f41b4908a2ec27ca7ba993f22f54b8 (diff) | |
download | couchdb-97a35791e71f9721cd6d099ea6ff951975c4b6eb.tar.gz |
feat: users now always have a default role _users
-rw-r--r-- | test/javascript/tests/security_validation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/javascript/tests/security_validation.js b/test/javascript/tests/security_validation.js index 6f0bd0f42..1299d9042 100644 --- a/test/javascript/tests/security_validation.js +++ b/test/javascript/tests/security_validation.js @@ -131,7 +131,7 @@ couchTests.security_validation = function(debug) { var user = JSON.parse(resp.responseText).userCtx; T(user.name == "jerry"); // test that the roles are listed properly - TEquals(user.roles, []); + TEquals(["_users"], user.roles); // update the document |