[SERVER-40077] Reject JSONPointer that points to encrypted field in keyId. Created: 11/Mar/19  Updated: 29/Oct/23  Resolved: 15/Apr/19

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

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

Backwards Compatibility: Fully Compatible
Sprint: Query 2019-04-22
Participants:

 Description   

It makes sense for this to happen at schema parse time, but it is unclear exactly what that would look like. It is doable during insert, but would require a way to either convert JSONPointer to FieldRef or traverse the schema tree with a JSONPointer.



 Comments   
Comment by Githook User [ 15/Apr/19 ]

Author:

{'email': 'ted.tuckman@mongodb.com', 'name': 'Ted Tuckman', 'username': 'TedTuckman'}

Message: SERVER-40077 Reject insert if pointer points to encrypted field
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/5d2f5e515968623b6fd5f9054334f593f2c589c3

Comment by Githook User [ 15/Apr/19 ]

Author:

{'email': 'ted.tuckman@mongodb.com', 'name': 'Ted Tuckman', 'username': 'TedTuckman'}

Message: SERVER-40077 Add toFieldRef to JSONPointer class
Branch: master
https://github.com/mongodb/mongo/commit/1ca6c3974e68fb6bea161fa5bfa8ecffeb909c54

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