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

fix cyclic dependency between commands and audit libraries

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.8
    • Affects Version/s: None
    • Component/s: Security
    • None
    • Fully Compatible
    • ALL
    • Repl 2017-05-29, Repl 2017-06-19
    • 0

      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().

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

              Created:
              Updated:
              Resolved: