Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-782

Change add_user helper command to work with narrowed localhost exception.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 1.11.0
    • Auth
    • None

    Description

      The localhost exception on the server has been narrowed, and many commands that could in the past be run under these conditions are no longer permitted. The "usersInfo" command is one such example. Our current implementation of the add_user helper relies on the "usersInfo" command, and so cannot be used under the localhost exception: https://github.com/mongodb/mongo-ruby-driver/blob/1.x-stable/lib/mongo/db.rb#L222

      Attachments

        Issue Links

          Activity

            People

              emily.stolfo Emily Stolfo
              samantha.ritter@mongodb.com Samantha Ritter (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: