summaryrefslogtreecommitdiff
path: root/src/mongo/db/drop.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/drop.idl')
-rw-r--r--src/mongo/db/drop.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/drop.idl b/src/mongo/db/drop.idl
index aeaddde09a1..25c4e731cf3 100644
--- a/src/mongo/db/drop.idl
+++ b/src/mongo/db/drop.idl
@@ -32,6 +32,7 @@ global:
- "mongo/util/uuid.h"
imports:
+ - "mongo/db/auth/action_type.idl"
- "mongo/idl/basic_types.idl"
structs:
@@ -61,3 +62,8 @@ commands:
strict: true
api_version: "1"
reply_type: DropReply
+ access_check:
+ simple:
+ privilege:
+ resource_pattern: exact_namespace
+ action_type: dropCollection