[DOCS-15930] Investigate changes in SERVER-72836: Create $$USER_ROLES system variable for aggregations Created: 01/Mar/23  Updated: 13/Nov/23  Resolved: 18/Jul/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jason Price
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-72836 Create $$USER_ROLES system variable f... Closed
Participants:
Days since reply: 49 weeks ago

 Description   
Original Downstream Change Summary

$$USER_ROLES is a new system variable available to users within an aggregation pipeline. It allows them to set what data users are able to access/transform based on their database roles. More details are included in the scope and PD.

Description of Linked Ticket

This ticket encapsulates the work necessary to create a new $$USER_ROLES variable that will be available for find queries and aggregation pipelines. It will be populated at query execution time with the roles of the user executing the query.

On sharded clusters, a query may be executed on a shard by another server node on behalf of the end client. In those cases, $$USER_ROLES will be populated with the roles of the end client's user that the server node is impersonating.


Generated at Thu Feb 08 08:14:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.