diff options
author | Ian Whalen <ian.whalen@gmail.com> | 2017-09-21 10:20:20 -0400 |
---|---|---|
committer | Ian Whalen <ian.whalen@gmail.com> | 2017-09-21 10:20:20 -0400 |
commit | 0e3c8a96af7f9ddd6d5a059c92f6303eba1d0b32 (patch) | |
tree | 8b92add4f9b8a2a9ca939f93656ecac9781d03cb /src/mongo/db/auth | |
parent | 48cdb7d69246339e097bf23ec0e6b9187a3f9221 (diff) | |
download | mongo-0e3c8a96af7f9ddd6d5a059c92f6303eba1d0b32.tar.gz |
Revert "SERVER-21677 Remove "diaglog" support from the server"
This reverts commit d5d61785d59f62e29ba01843f8c15cf08a5ca55a.
Diffstat (limited to 'src/mongo/db/auth')
-rw-r--r-- | src/mongo/db/auth/action_types.txt | 1 | ||||
-rw-r--r-- | src/mongo/db/auth/role_graph_builtin_roles.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/auth/action_types.txt b/src/mongo/db/auth/action_types.txt index 1f57ba6084b..2fdb27bbeb0 100644 --- a/src/mongo/db/auth/action_types.txt +++ b/src/mongo/db/auth/action_types.txt @@ -34,6 +34,7 @@ "createUser", "dbHash", "dbStats", +"diagLogging", "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", diff --git a/src/mongo/db/auth/role_graph_builtin_roles.cpp b/src/mongo/db/auth/role_graph_builtin_roles.cpp index 47ba56ce752..d79149c368d 100644 --- a/src/mongo/db/auth/role_graph_builtin_roles.cpp +++ b/src/mongo/db/auth/role_graph_builtin_roles.cpp @@ -213,6 +213,7 @@ MONGO_INITIALIZER(AuthorizationBuiltinRoles)(InitializerContext* context) { << ActionType::shutdown << ActionType::touch << ActionType::unlock + << ActionType::diagLogging << ActionType::flushRouterConfig // clusterManager gets this also << ActionType::fsync << ActionType::invalidateUserCache // userAdminAnyDatabase gets this also |