diff options
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 | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/auth/action_types.txt b/src/mongo/db/auth/action_types.txt index 303022bf3a9..8ae39298cff 100644 --- a/src/mongo/db/auth/action_types.txt +++ b/src/mongo/db/auth/action_types.txt @@ -115,6 +115,7 @@ "storageDetails", "top", "touch", +"trafficRecord", "unlock", "useUUID", "update", diff --git a/src/mongo/db/auth/role_graph_builtin_roles.cpp b/src/mongo/db/auth/role_graph_builtin_roles.cpp index e9506a5f07c..7a6865f3308 100644 --- a/src/mongo/db/auth/role_graph_builtin_roles.cpp +++ b/src/mongo/db/auth/role_graph_builtin_roles.cpp @@ -222,7 +222,8 @@ MONGO_INITIALIZER(AuthorizationBuiltinRoles)(InitializerContext* context) { << ActionType::killAnySession << ActionType::killop << ActionType::replSetResizeOplog - << ActionType::resync; // clusterManager gets this also + << ActionType::resync // clusterManager gets this also + << ActionType::trafficRecord; // hostManager role actions that target the database resource hostManagerRoleDatabaseActions |