[SERVER-74470] Add authorization checks of the checkMetadataConsistency command to the common command auth infrastructure testing Created: 01/Mar/23  Updated: 29/Oct/23  Resolved: 21/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Pol Pinol Assignee: Pol Pinol
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after SERVER-72667 Add authorization checks for cluster ... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-05-01
Participants:

 Description   

SERVER-72667 has implemented the authorization checks for checkMetadataConsistency command for each of the level modes inĀ jstests/auth/check_metadata_consistency.js.

There exists a more programmatic way of testing command authorization:
https://github.com/mongodb/mongo/blob/master/jstests/auth/lib/commands_lib.js

The goal of this ticket is try to porting jstests/auth/check_metadata_consistency.js to the common command auth infrastructure testing.



 Comments   
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}

Message: SERVER-74470 Add authorization checks of the checkMetadataConsistency command to the common command auth infrastructure testing
Branch: master
https://github.com/mongodb/mongo/commit/a9261c312da524e66711aa92335eeae64159906a

Generated at Thu Feb 08 06:27:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.