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

fix cyclic dependency between commands and audit libraries

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.8
    • None
    • Security
    • None
    • Fully Compatible
    • ALL
    • Repl 2017-05-29, Repl 2017-06-19
    • 0

    Description

      Some implementations of the audit function logCommandAuthzCheck() depend on a couple of generic Command functions (parseNs() and redactForLogging()). This introduces an implicit dependency on the 'commands' library where Command is defined, We have a cyclic dependency between the Command and logCommandAuthzCheck() because Command::checkAuthorization() calls logCommandAuthzCheck().

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: