diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2015-12-14 12:22:16 -0500 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2015-12-15 15:59:58 -0500 |
commit | 21bcf6b127c1bb24e74845327e8d20df26e560bc (patch) | |
tree | 0a034064354ab57e70c37dc1daca1e7dafca2334 /jstests/auth/lib | |
parent | 1ef94fe1099da7b6396bf9c0ddf93747c8b80f2a (diff) | |
download | mongo-21bcf6b127c1bb24e74845327e8d20df26e560bc.tar.gz |
SERVER-21724 Let backup role read system.profile
Diffstat (limited to 'jstests/auth/lib')
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index 8f427c680c5..9dbfe56bd6a 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -2031,6 +2031,7 @@ var authCommandsLib = { { runOnDb: firstDbName, roles: { + backup: 1, dbAdmin: 1, dbAdminAnyDatabase: 1, dbOwner: 1, @@ -2047,6 +2048,7 @@ var authCommandsLib = { { runOnDb: secondDbName, roles: { + backup: 1, dbAdminAnyDatabase: 1, clusterMonitor: 1, clusterAdmin: 1, |