diff options
author | Gregory Noma <gregory.noma@gmail.com> | 2022-03-29 14:37:30 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-29 17:01:11 +0000 |
commit | 5157deaa6adcce380f01f4736efbdf3c473e11bf (patch) | |
tree | 1b6b197ff223fc66c8cbe70a78328996e30f0b81 /src/mongo/db/pipeline/aggregate_command.idl | |
parent | 27aee8b15f2c95422e69954e938fdd4f4c312e24 (diff) | |
download | mongo-5157deaa6adcce380f01f4736efbdf3c473e11bf.tar.gz |
SERVER-64404 Add collection-level `$listCatalog`
Diffstat (limited to 'src/mongo/db/pipeline/aggregate_command.idl')
-rw-r--r-- | src/mongo/db/pipeline/aggregate_command.idl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/aggregate_command.idl b/src/mongo/db/pipeline/aggregate_command.idl index 98ab3572924..0e69d47c6ba 100644 --- a/src/mongo/db/pipeline/aggregate_command.idl +++ b/src/mongo/db/pipeline/aggregate_command.idl @@ -126,6 +126,10 @@ commands: action_type: listCachedAndActiveUsers - privilege: # $listCatalog agg_stage: listCatalog + resource_pattern: exact_namespace + action_type: [listCollections, listIndexes] + - privilege: # $listCatalog + agg_stage: listCatalog resource_pattern: cluster action_type: listDatabases - privilege: # $listCatalog |