[SERVER-74500] Allow $$USER_ROLES to be used in update/findAndModify Created: 01/Mar/23 Updated: 29/Oct/23 Resolved: 18/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Militsa Sotirova | Assignee: | Matt Olma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | query-product-scope-1, query-product-urgency-1, query-product-value-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v7.0
|
||||||||||||||||
| Sprint: | QO 2023-04-03, QO 2023-04-17, QO 2023-05-01 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Currently, $$USER_ROLES is only available within find, agg, and view pipelines. The work for this ticket includes also supporting its usage in update and findAndModify commands and adding tests. |
| Comments |
| Comment by Githook User [ 28/Apr/23 ] |
|
Author: {'name': 'Matt Olma', 'email': 'matt.olma@mongodb.com', 'username': ''}Message: |
| Comment by Githook User [ 18/Apr/23 ] |
|
Author: {'name': 'Matt Olma', 'email': 'matt.olma@mongodb.com', 'username': ''}Message: |
| Comment by Elizabeth Roytburd [ 12/Apr/23 ] |
|
We got approval from the Release team for this change so I went ahead and kept the 7.0 Required fixVersion and requested a 7.0 backport for this. |
| Comment by Salman Baset [ 11/Apr/23 ] |
|
Understood. From my perspective, we would block the 7.0 release on this change. |
| Comment by Elizabeth Roytburd [ 10/Apr/23 ] |
|
salman.baset@mongodb.com To confirm, we would block the release on this change? If yes I will add the 7.0 Required fixVersion here but since rc0 is tomorrow morning it's highly unlikely it will land for that cutoff. I will reach out to Query offline and CC you to see timing and what we can do about potentially asking the Release team about having this land in a later rc. |
| Comment by Salman Baset [ 10/Apr/23 ] |
|
Thanks, elizabeth.roytburd@mongodb.com. Yeah, this needs to make it to 7.0. |
| Comment by Pawel Terlecki [ 07/Mar/23 ] |
|
I am assigning to you steve.tarzia@mongodb.com to decide if this should be done on QO or QE. cc: kyle.suarez@mongodb.com joe.sack@mongodb.com kateryna.kamenieva@mongodb.com |