summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-11-06 18:22:38 -0500
committerSpencer T Brody <spencer@10gen.com>2013-11-08 16:08:28 -0500
commitc5682b4510724fe275a20476fd23667025844d93 (patch)
treeac7c3818a48434c2c0bb88be16b2f064e0b0948f /jstests/auth
parentea1d6a8a9e21a70ff57bda7ca47197ab58d3e7a9 (diff)
downloadmongo-c5682b4510724fe275a20476fd23667025844d93.tar.gz
SERVER-11085 Make renameCollection adminOnly on mongos, to match behavior on mongod
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/lib/commands_lib.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js
index 20559e7e319..c1ca58a55ba 100644
--- a/jstests/auth/lib/commands_lib.js
+++ b/jstests/auth/lib/commands_lib.js
@@ -1516,10 +1516,8 @@ var authCommandsLib = {
{ resource: {db: firstDbName, collection: ""}, actions: ["renameCollectionSameDB"] }
]
},
- /* SERVER-11085
{ runOnDb: firstDbName, rolesAllowed: {} },
{ runOnDb: secondDbName, rolesAllowed: {} }
- */
]
},
{
@@ -1544,10 +1542,8 @@ var authCommandsLib = {
{ resource: {db: secondDbName, collection: "y"}, actions: ["insert", "createIndex"] }
]
},
- /* SERVER-11085
{ runOnDb: firstDbName, rolesAllowed: {} },
{ runOnDb: secondDbName, rolesAllowed: {} }
- */
]
},
{