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

Replace direct catalog access in command authorizations checks

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-04-28, CAR Team 2025-05-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Some query commands access the catalog directly. As part of the project, we aim at centralise every catalog access via shard role api to prevent misuse and simplify maintenance. 

      However, during authorization checks many operations done under an acquisition make no sense as they are usually executed too early in the stack. 
      As part of ticket, remove those direct access and extend the shard role api to provide an equivalent logic. 

      eg:

       

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: