summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/set_cluster_parameter_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/set_cluster_parameter_command.cpp')
-rw-r--r--src/mongo/db/commands/set_cluster_parameter_command.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands/set_cluster_parameter_command.cpp b/src/mongo/db/commands/set_cluster_parameter_command.cpp
index 08ae1b2835e..8c49717baad 100644
--- a/src/mongo/db/commands/set_cluster_parameter_command.cpp
+++ b/src/mongo/db/commands/set_cluster_parameter_command.cpp
@@ -66,6 +66,10 @@ public:
return "Set cluster parameter on replica set or node";
}
+ bool allowedWithSecurityToken() const final {
+ return true;
+ }
+
class Invocation final : public InvocationBase {
public:
using InvocationBase::InvocationBase;