From 90c89d33c400d2f1eb8972170b7a17e3315c4198 Mon Sep 17 00:00:00 2001 From: Ruoxin Xu Date: Thu, 29 Oct 2020 12:14:01 +0000 Subject: SERVER-51649 Convert aggregate command input to IDL --- src/mongo/db/auth/authorization_session_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/auth/authorization_session_impl.h') diff --git a/src/mongo/db/auth/authorization_session_impl.h b/src/mongo/db/auth/authorization_session_impl.h index b7896daf518..f7f4b0aa596 100644 --- a/src/mongo/db/auth/authorization_session_impl.h +++ b/src/mongo/db/auth/authorization_session_impl.h @@ -42,7 +42,7 @@ #include "mongo/db/auth/user_name.h" #include "mongo/db/auth/user_set.h" #include "mongo/db/namespace_string.h" -#include "mongo/db/pipeline/aggregation_request.h" +#include "mongo/db/pipeline/aggregate_command_gen.h" namespace mongo { @@ -118,7 +118,7 @@ public: UserNameIterator cursorOwner) override; StatusWith getPrivilegesForAggregate(const NamespaceString& ns, - const AggregationRequest& request, + const AggregateCommand& request, bool isMongos) override; Status checkAuthForCreate(const NamespaceString& ns, -- cgit v1.2.1