diff options
Diffstat (limited to 'jstests/auth/lib/commands_lib.js')
-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"] } ] |