[SERVER-63748] extend stable api compatibility checking script to handle new aggregation stages/operators Created: 16/Feb/22  Updated: 29/Oct/23  Resolved: 05/Mar/22

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-64251 enable feature for aggregation stage ... Closed
related to SERVER-64203 update required permissions on listCa... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-03-21
Participants:

 Description   

The aggregate command IDL declares a list of permissions, each annotated with the respective stages/operators that requires it, that is consumed by the Stable API compatibility checking script.

The Stable API has certain expectations on adding new permissions to existing commands that the compatibility checking tool may be applying to the aggregate command, with all its operators/stages, as a whole. However, new stages/operators added to the aggregate command could be exempt from these restrictions and it would be ideal for the compatibility checking to take this into consideration.



 Comments   
Comment by Githook User [ 05/Mar/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-63748 complex access checks for aggregation stages should be separate from default (no aggregation stage defined)
Branch: master
https://github.com/mongodb/mongo/commit/eaf7eb2f1b9bc0de8e0664ba6815d2c9e5aa9f61

Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-63748 extract complex access logic from check_security_access_checks()
Branch: master
https://github.com/mongodb/mongo/commit/9865999146b820bc8b0e89945153c8d61f712f81

Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-63748 provide _str_ functions for Privilege and AccessCheck
Branch: master
https://github.com/mongodb/mongo/commit/ed755f75ecda7b08ff3244bfd75dd4567162f270

Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-63748 extend access check syntax to accept optional agg_stage for privilege definition
Branch: master
https://github.com/mongodb/mongo/commit/f3672960cc89c6f7c6cd50cb18cfd8d8d116e43b

Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-63748 update ticket reference in TODO comment
Branch: master
https://github.com/mongodb/mongo/commit/a14ca1e9d6a71f76621f974ecca663ae5f0fd246

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