summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/user_management_commands.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/user_management_commands.idl')
-rw-r--r--src/mongo/db/commands/user_management_commands.idl24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mongo/db/commands/user_management_commands.idl b/src/mongo/db/commands/user_management_commands.idl
index 8897b8b7da1..e8a3715bb8c 100644
--- a/src/mongo/db/commands/user_management_commands.idl
+++ b/src/mongo/db/commands/user_management_commands.idl
@@ -397,3 +397,27 @@ commands:
command_name: _getUserCacheGeneration
cpp_name: GetUserCacheGenerationCommand
strict: true
+
+ _mergeAuthzCollections:
+ description: "Internal command used by mongorestore for updating user/role data"
+ namespace: ignored
+ command_name: _mergeAuthzCollections
+ cpp_name: MergeAuthzCollectionsCommand
+ strict: true
+ fields:
+ tempUsersCollection:
+ description: "Temporary users collection name"
+ type: string
+ default: ''
+ tempRolesCollection:
+ description: "Temporary roles collection name"
+ type: string
+ default: ''
+ db:
+ description: "Database name"
+ type: string
+ drop:
+ description: "Drop temp collections when complete"
+ type: bool
+ default: false
+