Change add_user helper command to work with narrowed localhost exception.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.11.0
    • Affects Version/s: None
    • Component/s: Auth
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: