Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-162

Work around reduction of localhost exception permissions in MongoDB >= 2.7.1

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      PYTHON-715 Done 3.0
      MOTOR-38 Done 0.4, 0.5
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion PYTHON-715 Done 3.0 MOTOR-38 Done 0.4, 0.5

    Description

      MongoDB provides a "localhost exception" for executing unauthorized operations from localhost when authentication is enabled but no users have yet been added. In versions previous to 2.8 any operation could be executed. Starting in MongoDB 2.8 the addUser command is the only command requiring authorization that can be run before the first user is added.

      See DRIVERS-169 for a specific problem caused by this change. Driver test suites that assume all normal operations can be performed on localhost if no users exist will require changes.

      Attachments

        Activity

          People

            barrie Barrie Segal
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: