diff options
Diffstat (limited to 'src/mongo/db/commands/mr_common.h')
-rw-r--r-- | src/mongo/db/commands/mr_common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/commands/mr_common.h b/src/mongo/db/commands/mr_common.h index 344d819841f..965553e9ca8 100644 --- a/src/mongo/db/commands/mr_common.h +++ b/src/mongo/db/commands/mr_common.h @@ -51,10 +51,10 @@ struct OutputOptions { OutputOptions parseOutputOptions(const std::string& dbname, const BSONObj& cmdObj); -void addPrivilegesRequiredForMapReduce(const BasicCommand* commandTemplate, - const std::string& dbname, - const BSONObj& cmdObj, - std::vector<Privilege>* out); +Status checkAuthForMapReduce(const BasicCommand* command, + OperationContext* opCtx, + const DatabaseName& dbName, + const BSONObj& cmdObj); /** * Returns true if the provided mapReduce command has an 'out' parameter. |