diff options
Diffstat (limited to 'jstests/sharding/authwhere.js')
-rw-r--r-- | jstests/sharding/authwhere.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/sharding/authwhere.js b/jstests/sharding/authwhere.js index 651c04d731a..e15feb18b9a 100644 --- a/jstests/sharding/authwhere.js +++ b/jstests/sharding/authwhere.js @@ -17,8 +17,7 @@ var adminUser = { var test1Reader = { user: "test", pwd: "a", - roles: [], - otherDBRoles: { test1: [ "read" ] } + roles: [{name: 'read', source: 'test1', hasRole:true, canDelegate: false}] }; function assertGLEOK(status) { |