-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Serverless
-
Fully Compatible
-
Server Serverless 2022-12-26
We should support the killOp command with a security token. Override allowedWithSecurityToken to return true for mongod's killOp command. Note that we don't want to override on KillOpCmdBase, because we'd enable it mongos/mongoq as well by doing so. The command only uses the dbName to log, so we shouldn't need any other changes to the command execution path.
Then, remove the tag "not_allowed_with_security_token" from any jstests/core tests that are tagged only because they run killOp. We can easily find which tests are currently excluded because of killOp only by grepping for "The test runs commands that are not allowed with security token: killOp."