diff options
author | Andy Schwerin <schwerin@10gen.com> | 2013-11-14 10:39:21 -0500 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2013-11-14 10:39:21 -0500 |
commit | 58ed9775c96676a8c6dab2a83ea4ee55f1dcaa38 (patch) | |
tree | d19c0e1c94412bd7e12698c3011b5c588fdc2381 | |
parent | 103da34ddbc32d8345655471fc46afc6352a6624 (diff) | |
download | mongo-58ed9775c96676a8c6dab2a83ea4ee55f1dcaa38.tar.gz |
SERVER-9514 Account for new privileges in clusterManager built-in role in tests.
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index b5b4be81e74..a33a0965b87 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -994,7 +994,7 @@ var authCommandsLib = { testcases: [ { runOnDb: adminDbName, - rolesAllowed: roles_hostManager, + rolesAllowed: Object.extend({clusterManager: 1}, roles_hostManager), requiredPrivileges: [ { resource: {cluster: true}, actions: ["flushRouterConfig"] } ] @@ -1317,7 +1317,7 @@ var authCommandsLib = { testcases: [ { runOnDb: adminDbName, - rolesAllowed: roles_monitoring, + rolesAllowed: Object.extend({clusterManager: 1}, roles_monitoring), requiredPrivileges: [ { resource: {cluster: true}, actions: ["listShards"] } ] |