summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/role_graph_builtin_roles.cpp
diff options
context:
space:
mode:
authorKatherine Walker <katherine.walker@mongodb.com>2017-09-25 11:45:49 -0400
committerKatherine Walker <katherine.walker@mongodb.com>2017-10-02 14:17:14 -0400
commit001b510a51f5232d94205a3779b48404ca34816a (patch)
tree6e5444163fefb8c509629c32ff48094d525befd0 /src/mongo/db/auth/role_graph_builtin_roles.cpp
parent80b4173ab3ad46eed8f4f482e5fe34bf6546d2e6 (diff)
downloadmongo-001b510a51f5232d94205a3779b48404ca34816a.tar.gz
SERVER-29138: Extend aggregation access control checks to handle $changeStream access control rules
Diffstat (limited to 'src/mongo/db/auth/role_graph_builtin_roles.cpp')
-rw-r--r--src/mongo/db/auth/role_graph_builtin_roles.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/auth/role_graph_builtin_roles.cpp b/src/mongo/db/auth/role_graph_builtin_roles.cpp
index 94b14014549..787cca0476b 100644
--- a/src/mongo/db/auth/role_graph_builtin_roles.cpp
+++ b/src/mongo/db/auth/role_graph_builtin_roles.cpp
@@ -115,6 +115,7 @@ void operator+=(ActionSet& target, const ActionSet& source) {
MONGO_INITIALIZER(AuthorizationBuiltinRoles)(InitializerContext* context) {
// Read role
readRoleActions
+ << ActionType::changeStream
<< ActionType::collStats
<< ActionType::dbHash
<< ActionType::dbStats