diff options
Diffstat (limited to 'src/mongo/db/commands/test_deprecation_command.cpp')
-rw-r--r-- | src/mongo/db/commands/test_deprecation_command.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/db/commands/test_deprecation_command.cpp b/src/mongo/db/commands/test_deprecation_command.cpp index 4e4362322ed..bdf5c0d0a4e 100644 --- a/src/mongo/db/commands/test_deprecation_command.cpp +++ b/src/mongo/db/commands/test_deprecation_command.cpp @@ -60,9 +60,11 @@ public: return false; } - void addRequiredPrivileges(const std::string& dbname, - const BSONObj& cmdObj, - std::vector<Privilege>* out) const override {} + Status checkAuthForOperation(OperationContext*, + const DatabaseName&, + const BSONObj&) const override { + return Status::OK(); + } std::string help() const override { return "replies with the values of the OperationContext's API parameters"; |