summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-12-20 15:58:18 -0500
committerBenety Goh <benety@mongodb.com>2018-12-20 15:58:18 -0500
commita38bfed6f6347d7a1d8b4a96ad03a1581584a801 (patch)
tree91452d06d815ec340d8b8e77364eef6ada81781a /src/mongo/db/auth
parent311f158a3f657fc1810437e72daa8d9428dd991c (diff)
downloadmongo-a38bfed6f6347d7a1d8b4a96ad03a1581584a801.tar.gz
Revert "SERVER-36416 Add dropConnections administrative command"
This reverts commit 9163a2cf69c8c2b66f67ff3b95859727101c0dc3.
Diffstat (limited to 'src/mongo/db/auth')
-rw-r--r--src/mongo/db/auth/action_types.txt2
-rw-r--r--src/mongo/db/auth/role_graph_builtin_roles.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/auth/action_types.txt b/src/mongo/db/auth/action_types.txt
index 303022bf3a9..644f60e3928 100644
--- a/src/mongo/db/auth/action_types.txt
+++ b/src/mongo/db/auth/action_types.txt
@@ -39,7 +39,6 @@
"dropAllRolesFromDatabase", # Not used for permissions checks, but to id the event in logs.
"dropAllUsersFromDatabase", # Not used for permissions checks, but to id the event in logs.
"dropCollection",
-"dropConnections",
"dropDatabase",
"dropIndex",
"dropRole",
@@ -123,3 +122,4 @@
"validate",
"viewRole",
"viewUser"]
+
diff --git a/src/mongo/db/auth/role_graph_builtin_roles.cpp b/src/mongo/db/auth/role_graph_builtin_roles.cpp
index dd8bb4a8a15..3de5d8b2e53 100644
--- a/src/mongo/db/auth/role_graph_builtin_roles.cpp
+++ b/src/mongo/db/auth/role_graph_builtin_roles.cpp
@@ -209,7 +209,6 @@ MONGO_INITIALIZER(AuthorizationBuiltinRoles)(InitializerContext* context) {
<< ActionType::applicationMessage // clusterManager gets this also
<< ActionType::connPoolSync
<< ActionType::cpuProfiler
- << ActionType::dropConnections
<< ActionType::logRotate
<< ActionType::setParameter
<< ActionType::shutdown