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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: