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

Review all code paths looking up in the collection catalog only by collection uuid

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2023-11-27, CAR Team 2023-12-11, CAR Team 2023-12-25, CAR Team 2024-01-08, CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19, CAR Team 2024-03-04, CAR Team 2024-03-18

      Given that the authorization system is db-based, review all code paths directly looking up the collection by uuid in the collection catalog that currently do not include a db name.

      The output of this ticket should be the following:

      • If it would always be possible to lookup by db name + uuid, get rid of the only-uuid lookup method
      • Else, make sure that all the paths looking up only by uuid are internal and always safely used after correctly checking the authorization on the db

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: