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

Change add_user helper command to work with narrowed localhost exception.

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.11.0
    • Affects Version/s: None
    • Component/s: Auth
    • 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 Emily Stolfo
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: