summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/role_graph_builtin_roles.cpp
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2017-10-04 15:18:07 -0400
committerSpencer Jackson <spencer.jackson@mongodb.com>2017-10-09 17:25:18 -0400
commit893d4efbdfc7d536d7b6c44a9cb31dcdb7f8fd20 (patch)
tree9c9b81be8592744c0779428a86db7bcdadf75972 /src/mongo/db/auth/role_graph_builtin_roles.cpp
parent574f5ae3d799ff2ba551200157495104ad697e96 (diff)
downloadmongo-893d4efbdfc7d536d7b6c44a9cb31dcdb7f8fd20.tar.gz
SERVER-31389: Make an ActionType for manipulating authentication restrictions
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 018f8dffb96..c466f334c72 100644
--- a/src/mongo/db/auth/role_graph_builtin_roles.cpp
+++ b/src/mongo/db/auth/role_graph_builtin_roles.cpp
@@ -149,6 +149,7 @@ MONGO_INITIALIZER(AuthorizationBuiltinRoles)(InitializerContext* context) {
<< ActionType::dropRole
<< ActionType::grantRole
<< ActionType::revokeRole
+ << ActionType::setAuthenticationRestriction
<< ActionType::viewUser
<< ActionType::viewRole;