Expected: A user with the clusterAdmin role should be authorized to run the repairDatabase command.
Actual: Attempting to run repairDatabase on either the admin database or a non-admin database gives an authorization error, even when the user has the clusterAdmin role:
{
"ok" : 0,
"errmsg" : "not authorized on roles_commands_1 to execute command { repairDatabase: 1.0 }",
"code" : 13
}
- depends on
-
SERVER-9514 System-defined roles
-
- Closed
-
- related to
-
SERVER-8213 Make copyDB and clone work with auth when using new-style users
-
- Closed
-