summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-04-28 14:02:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-28 15:28:28 +0000
commit5268b0ce77f81f4a26636e1abc7ab7eb850b2628 (patch)
treeefbc496ecdfcb1b1fa1529e1fd0f17d02a22c429 /src/mongo/db/commands
parentea67f8909049edd2b8abf55a48999bdd20e7ab87 (diff)
downloadmongo-5268b0ce77f81f4a26636e1abc7ab7eb850b2628.tar.gz
SERVER-65449 Add $tenant field to IDL for commands
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/SConscript1
-rw-r--r--src/mongo/db/commands/user_management_commands.idl6
2 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/db/commands/SConscript b/src/mongo/db/commands/SConscript
index 590b145470f..7fdbb486450 100644
--- a/src/mongo/db/commands/SConscript
+++ b/src/mongo/db/commands/SConscript
@@ -582,6 +582,7 @@ env.Library(
'$BUILD_DIR/mongo/db/s/user_writes_recoverable_critical_section',
'$BUILD_DIR/mongo/db/server_feature_flags',
'$BUILD_DIR/mongo/db/server_options_core',
+ '$BUILD_DIR/mongo/db/tenant_id',
'$BUILD_DIR/mongo/db/timeseries/timeseries_conversion_util',
'$BUILD_DIR/mongo/db/transaction_api',
'$BUILD_DIR/mongo/idl/idl_parser',
diff --git a/src/mongo/db/commands/user_management_commands.idl b/src/mongo/db/commands/user_management_commands.idl
index 36e410dc1dc..fb68bb63f36 100644
--- a/src/mongo/db/commands/user_management_commands.idl
+++ b/src/mongo/db/commands/user_management_commands.idl
@@ -128,12 +128,6 @@ commands:
description: "List of valid authentication mechanisms for the user"
type: array<string>
optional: true
- "$tenant":
- # Only available with enableTestCommands and multitenancySupport
- description: "Associate this user with a specific tenant"
- type: tenant_id
- cpp_name: tenantOverride
- optional: true
updateUser:
description: "Modify a user"