diff options
author | Ruoxin Xu <ruoxin.xu@mongodb.com> | 2020-10-29 12:14:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-07 11:20:50 +0000 |
commit | 90c89d33c400d2f1eb8972170b7a17e3315c4198 (patch) | |
tree | 2aaee3468e4350950b546b2b24783d9ddc2d8e2e /src/mongo/db/auth/authorization_session_impl.h | |
parent | 66cdb6d0fccf3b65c61a1bea5d6171591d21c9da (diff) | |
download | mongo-90c89d33c400d2f1eb8972170b7a17e3315c4198.tar.gz |
SERVER-51649 Convert aggregate command input to IDL
Diffstat (limited to 'src/mongo/db/auth/authorization_session_impl.h')
-rw-r--r-- | src/mongo/db/auth/authorization_session_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<PrivilegeVector> getPrivilegesForAggregate(const NamespaceString& ns, - const AggregationRequest& request, + const AggregateCommand& request, bool isMongos) override; Status checkAuthForCreate(const NamespaceString& ns, |