summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs/tenant_migration_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/libs/tenant_migration_test.js')
-rw-r--r--jstests/replsets/libs/tenant_migration_test.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/replsets/libs/tenant_migration_test.js b/jstests/replsets/libs/tenant_migration_test.js
index 2ceb9d892b2..35338ec6002 100644
--- a/jstests/replsets/libs/tenant_migration_test.js
+++ b/jstests/replsets/libs/tenant_migration_test.js
@@ -125,7 +125,10 @@ function TenantMigrationTest({
privileges: [
{resource: {cluster: true}, actions: ["listDatabases", "useUUID"]},
{resource: {db: "", collection: ""}, actions: ["listCollections"]},
- {resource: {anyResource: true}, actions: ["collStats", "find", "listIndexes"]}
+ {
+ resource: {anyResource: true},
+ actions: ["dbStats", "collStats", "find", "listIndexes"]
+ }
],
roles: []
}));