summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/auth_options.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/auth_options.idl')
-rw-r--r--src/mongo/db/auth/auth_options.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/auth/auth_options.idl b/src/mongo/db/auth/auth_options.idl
index 488e311ee75..a0d5139938a 100644
--- a/src/mongo/db/auth/auth_options.idl
+++ b/src/mongo/db/auth/auth_options.idl
@@ -42,3 +42,9 @@ server_parameters:
cpp_vartype: bool
cpp_varname: roleGraphInvalidationIsFatal
test_only: true
+ enforceUserClusterSeparation:
+ description: "Prevents creation of users whose names would be interpreted as cluster members"
+ set_at: startup
+ cpp_varname: "gEnforceUserClusterSeparation"
+ cpp_vartype: bool
+ default: true