summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/action_type.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/action_type.idl')
-rw-r--r--src/mongo/db/auth/action_type.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/auth/action_type.idl b/src/mongo/db/auth/action_type.idl
index ab8effd2b09..68126c5c2b7 100644
--- a/src/mongo/db/auth/action_type.idl
+++ b/src/mongo/db/auth/action_type.idl
@@ -193,3 +193,11 @@ enums:
kMatchAnyNormalResource : "any_normal"
# Matches absolutely anything.
kMatchAnyResource : "any"
+ # Matches a collection named "<db>.system.buckets.<collection>"
+ kMatchExactSystemBucketResource : "system_buckets"
+ # Matches a collection named "system.buckets.<collection>" in any db
+ kMatchSystemBucketInAnyDBResource : "system_buckets_in_any_db"
+ # Matches any collection with a prefix of "system.buckets." in db
+ kMatchAnySystemBucketInDBResource : "any_system_buckets_in_db"
+ # Matches any collection with a prefix of "system.buckets." in any db
+ kMatchAnySystemBucketResource : "any_system_buckets"