diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2021-03-31 11:02:02 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-31 15:47:25 +0000 |
commit | 51d9bc690b506c08b74905172f9786cf4d148729 (patch) | |
tree | 1fd49906c2502e55ac53a9ae1e33ca642e020ebc /src/mongo/idl/unittest.idl | |
parent | 14cbe5bceb4319b8eac584de16927f68a61af254 (diff) | |
download | mongo-51d9bc690b506c08b74905172f9786cf4d148729.tar.gz |
SERVER-54533 Add error in IDL that all commands with api_version != “” have access_check
Diffstat (limited to 'src/mongo/idl/unittest.idl')
-rw-r--r-- | src/mongo/idl/unittest.idl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/idl/unittest.idl b/src/mongo/idl/unittest.idl index 5eec7dc094d..9d1d4b5a65b 100644 --- a/src/mongo/idl/unittest.idl +++ b/src/mongo/idl/unittest.idl @@ -1096,6 +1096,8 @@ commands: namespace: ignored strict: true api_version: "1" + access_check: + none: true reply_type: OkReply APIVersion1CommandIDLName2: @@ -1105,6 +1107,8 @@ commands: namespace: ignored strict: true api_version: "1" + access_check: + none: true reply_type: OkReply # Test whether the C++ code for a command with alias name is currently generated. @@ -1115,6 +1119,8 @@ commands: namespace: ignored strict: true api_version: "1" + access_check: + none: true reply_type: OkReply ################################################################################################## |