diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2018-02-05 14:31:11 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2018-02-06 10:16:15 -0500 |
commit | 09d4e0d92d5678a21de3cf6138631998c62d20fb (patch) | |
tree | 16bec911c97f81bfd37ef58dbc76d6536e21885a /src/mongo/s/commands/cluster_ftdc_commands.cpp | |
parent | 1f376bcf8824df1a6122c297d5205daa1e6ff8a7 (diff) | |
download | mongo-09d4e0d92d5678a21de3cf6138631998c62d20fb.tar.gz |
SERVER-33136 const-ify the command auth accessors
Diffstat (limited to 'src/mongo/s/commands/cluster_ftdc_commands.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_ftdc_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_ftdc_commands.cpp b/src/mongo/s/commands/cluster_ftdc_commands.cpp index 6942bec0bdb..5fd60d315b7 100644 --- a/src/mongo/s/commands/cluster_ftdc_commands.cpp +++ b/src/mongo/s/commands/cluster_ftdc_commands.cpp @@ -66,7 +66,7 @@ public: Status checkAuthForCommand(Client* client, const std::string& dbname, - const BSONObj& cmdObj) override { + const BSONObj& cmdObj) const override { if (!AuthorizationSession::get(client)->isAuthorizedForActionsOnResource( ResourcePattern::forClusterResource(), ActionType::serverStatus)) { |