Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72836

Create $$USER_ROLES system variable for aggregations

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.0.0-rc0
    • None
    • None
    • Fully Compatible
    • QO 2023-02-20, Security 2023-01-23, QO 2023-03-06

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              militsa.sotirova@mongodb.com Militsa Sotirova
              varun.ravichandran@mongodb.com Varun Ravichandran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: