|
Introduces a new action type named "checkMetadataConsistency" that will be included in clusterAdmin and clusterManager built-in roles. Clearance on the new action is required to run the new "checkMetadataConsistency" command.
Description of Linked Ticket
Investigate and add the authorization checks for the new checkMetadataConsistency command.
https://github.com/10gen/mongo/blob/c892ad5a89e92acfe9847cdd31469fba93e21363/src/mongo/s/commands/cluster_check_metadata_consistency_cmd.cpp#L107-L109
The goal of this ticket is to add a new specific action type "checkMetadataConsistency" and include it in the following built-in roles:
- clusterAdmin
- clusterManager
Additionally we should add tests to ensure that users without this privilege are not authorized to run the new command.
|