Description
Expected: A user privileged to perform the "find" action on a collection should be able to run the checkShardingIndex on that collection.
Actual: An authorization error such as the one below is returned.
{
|
"ok" : 0,
|
"errmsg" : "not authorized on roles_commands_1 to execute command { checkShardingIndex: \"test.x\", keyPattern: { _id: 1.0 } }",
|
"code" : 13
|
}
|