-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
v7.0
-
QO 2023-04-03, QO 2023-04-17, QO 2023-05-01
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.