summaryrefslogtreecommitdiff
path: root/jstests/auth/basic_role_auth.js
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-07-09 17:49:53 -0400
committerSpencer T Brody <spencer@10gen.com>2013-07-17 15:12:37 -0400
commitb85f738cebd1846ca995b25e21406532e5400497 (patch)
treeb3460d3b265a54fb9d900c953c55f37b945d4471 /jstests/auth/basic_role_auth.js
parent7ef3fcb0b938c96fddfec5e87f1b63d55d508368 (diff)
downloadmongo-b85f738cebd1846ca995b25e21406532e5400497.tar.gz
SERVER-6246 Forbid direct inserts and updates to system.users collections when auth is enabled
Diffstat (limited to 'jstests/auth/basic_role_auth.js')
-rw-r--r--jstests/auth/basic_role_auth.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/jstests/auth/basic_role_auth.js b/jstests/auth/basic_role_auth.js
index 0048b0230d9..ff57511a54e 100644
--- a/jstests/auth/basic_role_auth.js
+++ b/jstests/auth/basic_role_auth.js
@@ -419,7 +419,10 @@ var TESTS = [
testOps(conn.getDB('test'), UADMIN_PERM);
}
},
-{
+
+// Changing role test disabled per SERVER-10151. Once we have commands for changing user's roles,
+// this should be changed to use those and re-enabled
+/*{
name: 'Test change role',
test: function(conn) {
var testDB = conn.getDB('test');
@@ -449,7 +452,8 @@ var TESTS = [
testDB2.system.users.update({ user: 'rw' }, origSpec);
}
-},
+},*/
+
{
name: 'Test override user',
test: function(conn) {