summaryrefslogtreecommitdiff
path: root/jstests/auth/lib/commands_lib.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/lib/commands_lib.js')
-rw-r--r--jstests/auth/lib/commands_lib.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js
index 6a3be948448..95b93b31fdb 100644
--- a/jstests/auth/lib/commands_lib.js
+++ b/jstests/auth/lib/commands_lib.js
@@ -5589,6 +5589,18 @@ var authCommandsLib = {
]
},
{
+ testname: "setClusterParameter",
+ command: {setClusterParameter: {param: true}},
+ skipTest: (conn) => !TestData.setParameters.featureFlagClusterWideConfig,
+ testcases: [
+ {
+ runOnDb: adminDbName,
+ roles: {clusterManager: 1, clusterAdmin: 1, root:1, __system:1},
+ privileges: [{resource: {cluster: true}, actions: ["setClusterParameter"]}]
+ }
+ ]
+ },
+ {
testname: "setDefaultRWConcern",
command: {
setDefaultRWConcern: 1,