diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2021-03-21 22:46:19 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-22 03:34:46 +0000 |
commit | 95f8791e5fcbe1945a7ecb3284079c1d8371f212 (patch) | |
tree | 49a97309b2daed75ca6f615e0351ba2a4d9bc3f9 /src/mongo/db/auth | |
parent | 68dbfa5edbb55fec190e508607cf2276367f4f93 (diff) | |
download | mongo-95f8791e5fcbe1945a7ecb3284079c1d8371f212.tar.gz |
SERVER-54525 Access_check for none commands
Diffstat (limited to 'src/mongo/db/auth')
-rw-r--r-- | src/mongo/db/auth/sasl_commands.cpp | 4 | ||||
-rw-r--r-- | src/mongo/db/auth/sasl_commands.idl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/auth/sasl_commands.cpp b/src/mongo/db/auth/sasl_commands.cpp index 519f512ae90..55cbaf7f907 100644 --- a/src/mongo/db/auth/sasl_commands.cpp +++ b/src/mongo/db/auth/sasl_commands.cpp @@ -80,8 +80,6 @@ public: return NamespaceString(request().getDbName()); } - void doCheckAuthorization(OperationContext*) const final {} - Reply typedRun(OperationContext* opCtx); }; @@ -116,8 +114,6 @@ public: return NamespaceString(request().getDbName()); } - void doCheckAuthorization(OperationContext*) const final {} - Reply typedRun(OperationContext* opCtx); }; diff --git a/src/mongo/db/auth/sasl_commands.idl b/src/mongo/db/auth/sasl_commands.idl index 638696c38a4..4c2bd66e02a 100644 --- a/src/mongo/db/auth/sasl_commands.idl +++ b/src/mongo/db/auth/sasl_commands.idl @@ -61,6 +61,8 @@ commands: saslStart: description: "Begin a SASL based authentication session" api_version: "1" + access_check: + none: true command_name: saslStart namespace: ignored cpp_name: SaslStartCommand @@ -86,6 +88,8 @@ commands: saslContinue: description: "Continue a SASL based authentication session" api_version: "1" + access_check: + none: true command_name: saslContinue namespace: ignored cpp_name: SaslContinueCommand |