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

Remove DatabaseName::createDatabaseNameForAuth

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Security 2023-07-24, Security 2023-08-07

      Once the ResourcePattern and ParsedPrivilege APIs handle tenantIds, change any remaining call sites to DatabaseName::createDatabaseNameForAuth to call the appropriate method on DatabaseNameUtil to construct DatabaseName instead. Then, remove DatabaseName::createDatabaseNameForAuth, as it skips validation that tenantIds exist when they should.

            Assignee:
            gabriel.marks@mongodb.com Gabriel Marks
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: