[SERVER-54500] Encode access_checks and resource_pattern match type as a string enums into IDL Created: 12/Feb/21  Updated: 29/Oct/23  Resolved: 26/Feb/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-54501 Write AuthorizationContract class Closed
is depended on by SERVER-54522 Extend access_check for simple and ac... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-03-08
Participants:

 Description   
  • Since the integer values assigned to the access check enum are not persisted, a string enum is better then a int enum (which emphasizes the integer values assigned in the enum)
  • Add enum of access_checks that users can use in AuthorizationSession, this list does not need to be complete in the first pass


 Comments   
Comment by Githook User [ 25/Feb/21 ]

Author:

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

Message: SERVER-54500 Encode access_checks and resource_pattern match type as a string enums into IDL
Branch: master
https://github.com/mongodb/mongo/commit/afe0cd802663e0ee42387df1a2f694a62dcd8fd8

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