summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/action_type.idl
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2021-06-10 10:56:13 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-10 15:55:54 +0000
commitf2643946a9253a2accc8f3b0b8a95ee2fd84f22c (patch)
treef98d63fe0d0326d6f3bc679247cca5ae6dfa3981 /src/mongo/db/auth/action_type.idl
parent7f56da83d8ce91fa17bd5687a33747fe34e64cf8 (diff)
downloadmongo-f2643946a9253a2accc8f3b0b8a95ee2fd84f22c.tar.gz
SERVER-56444 Grant read/write access on time-series buckets collections to admin roles
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"