diff options
author | Benety Goh <benety@mongodb.com> | 2019-08-30 18:48:37 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-30 18:48:37 +0000 |
commit | 066cfde9fe249b872cb630f78a6c4dbeb9cfda6d (patch) | |
tree | 99911df4eb8ad6da071f846efba192976e5d4f20 /src/mongo/db/auth | |
parent | fca8f46ebfb94eebb5784ab54eb4bb774101e947 (diff) | |
download | mongo-066cfde9fe249b872cb630f78a6c4dbeb9cfda6d.tar.gz |
SERVER-43026 AuthManager handles startIndexBuild
Diffstat (limited to 'src/mongo/db/auth')
-rw-r--r-- | src/mongo/db/auth/role_graph_update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/role_graph_update.cpp b/src/mongo/db/auth/role_graph_update.cpp index 795fd84a6d1..25811c41854 100644 --- a/src/mongo/db/auth/role_graph_update.cpp +++ b/src/mongo/db/auth/role_graph_update.cpp @@ -320,7 +320,7 @@ Status handleOplogCommand(RoleGraph* roleGraph, const BSONObj& cmdObj) { return Status::OK(); } } - if (cmdName == "commitIndexBuild") { + if (cmdName == "startIndexBuild" || cmdName == "commitIndexBuild") { if (cmdObj.firstElement().str() != rolesCollectionNamespace.coll()) { return Status::OK(); } |