summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/role_graph_builtin_roles.cpp
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2018-08-06 14:52:37 -0400
committerLouis Williams <louis.williams@mongodb.com>2018-08-13 13:10:34 -0400
commitf899002aade5d8fa1cbf0b1ad79e3088b8d4b050 (patch)
treeeb8442e167590ca9043e52e2dc7f980f3f5f1e21 /src/mongo/db/auth/role_graph_builtin_roles.cpp
parentf46d77c794e0da816ab4c93b0cb6ace2b771a428 (diff)
downloadmongo-f899002aade5d8fa1cbf0b1ad79e3088b8d4b050.tar.gz
SERVER-36208 Remove repairDatabase server command and shell helper
Diffstat (limited to 'src/mongo/db/auth/role_graph_builtin_roles.cpp')
-rw-r--r--src/mongo/db/auth/role_graph_builtin_roles.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/auth/role_graph_builtin_roles.cpp b/src/mongo/db/auth/role_graph_builtin_roles.cpp
index 90c6a6e97f2..8f096ac641d 100644
--- a/src/mongo/db/auth/role_graph_builtin_roles.cpp
+++ b/src/mongo/db/auth/role_graph_builtin_roles.cpp
@@ -170,7 +170,6 @@ MONGO_INITIALIZER(AuthorizationBuiltinRoles)(InitializerContext* context) {
<< ActionType::planCacheWrite
<< ActionType::reIndex
<< ActionType::renameCollectionSameDB // read_write gets this also
- << ActionType::repairDatabase
<< ActionType::storageDetails
<< ActionType::validate;
@@ -225,8 +224,7 @@ MONGO_INITIALIZER(AuthorizationBuiltinRoles)(InitializerContext* context) {
// hostManager role actions that target the database resource
hostManagerRoleDatabaseActions
- << ActionType::killCursors
- << ActionType::repairDatabase;
+ << ActionType::killCursors;
// clusterManager role actions that target the cluster resource