summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/role_graph_update.cpp
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2018-05-16 16:12:36 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2018-05-16 16:18:50 -0400
commit4db1a10f3068130ab7b925f40dba34449e9c6f8d (patch)
tree1ca409a39d995b786425e57f8b6577c898482e1a /src/mongo/db/auth/role_graph_update.cpp
parent0a4f7b1ebf173984883d6e018ae88350015dfeb3 (diff)
downloadmongo-4db1a10f3068130ab7b925f40dba34449e9c6f8d.tar.gz
SERVER-34963 Fix linking on dynamic community builds.
There were hidden transitive dependencies through `auth` into other subsystems which were not detected through the normal content integration pathway. This adds some necessary dependency edges in order to fix building on those platforms. It also removes a few transitional ignores and fixes some uses of ambiguous stream operators. The `str::stream` object should not directly be streamed.
Diffstat (limited to 'src/mongo/db/auth/role_graph_update.cpp')
-rw-r--r--src/mongo/db/auth/role_graph_update.cpp2
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 dc90439f134..cf0f7644a09 100644
--- a/src/mongo/db/auth/role_graph_update.cpp
+++ b/src/mongo/db/auth/role_graph_update.cpp
@@ -213,7 +213,7 @@ Status handleOplogUpdate(OperationContext* opCtx,
return status;
mutablebson::Document roleDocument;
- status = AuthorizationManager::getBSONForRole(roleGraph, roleToUpdate, roleDocument.root());
+ status = RoleGraph::getBSONForRole(roleGraph, roleToUpdate, roleDocument.root());
if (status == ErrorCodes::RoleNotFound) {
// The query pattern will only contain _id, no other immutable fields are present
const FieldRef idFieldRef("_id");