[SERVER-54520] Extend IDL for new access_check field and none value and generate code when api_version != “” Created: 12/Feb/21  Updated: 29/Oct/23  Resolved: 02/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

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

Issue Links:
Depends
is depended on by SERVER-54521 Extend access_check for simple and pr... Closed
is depended on by SERVER-54523 Extend access_check for complex check... Closed
is depended on by SERVER-54525 Add access_check: none to existing co... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-03-08
Participants:

 Description   
  • Add support for none
  • Generate empty function when api_version != “” for InvocationBaseGen::doCheckAuthorization
  • Add tests to test_parser.py
  • Add test to unittest.idl to ensure generated code compiles
  • Add test to idl_test.cpp to validate contract is generated correctly


 Comments   
Comment by Githook User [ 02/Mar/21 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-54520 Extend IDL for new access_check field and none value and generate code when api_version != “”
Branch: master
https://github.com/mongodb/mongo/commit/5bc18e5edf382187c421ae23a5707a3207ef3204

Generated at Thu Feb 08 05:33:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.