summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/aggregate_command.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/aggregate_command.idl')
-rw-r--r--src/mongo/db/pipeline/aggregate_command.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/aggregate_command.idl b/src/mongo/db/pipeline/aggregate_command.idl
index b84513a30e6..0a4ae1f7ec4 100644
--- a/src/mongo/db/pipeline/aggregate_command.idl
+++ b/src/mongo/db/pipeline/aggregate_command.idl
@@ -156,6 +156,14 @@ commands:
- privilege: # $backupCursorExtend, backupCursor
resource_pattern: cluster
action_type: fsync
+ - privilege: # $_internalAllCollectionStats
+ agg_stage: _internalAllCollectionStats
+ resource_pattern: cluster
+ action_type: allCollectionStats
+ - privilege: # $shardedDataDistribution
+ agg_stage: shardedDataDistribution
+ resource_pattern: cluster
+ action_type: shardedDataDistribution
# Note that the 'CursorInitialReply' is not the only response that an aggregate command
# could return. With 'explain' or 'exchange', the response would not include the fields in
# 'CursorInitialReply'. But using 'explain' or 'exchange' is unstable, but otherwise the