diff options
author | Benety Goh <benety@mongodb.com> | 2018-12-20 15:58:18 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-12-20 15:58:18 -0500 |
commit | a38bfed6f6347d7a1d8b4a96ad03a1581584a801 (patch) | |
tree | 91452d06d815ec340d8b8e77364eef6ada81781a /src/mongo/db/auth | |
parent | 311f158a3f657fc1810437e72daa8d9428dd991c (diff) | |
download | mongo-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.txt | 2 | ||||
-rw-r--r-- | src/mongo/db/auth/role_graph_builtin_roles.cpp | 1 |
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 |