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

Change add_user helper command to work with narrowed localhost exception.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: Authentication
    • Labels:
      None
    • Sprint:
      Ruby Sprint 6, Ruby Sprint 7

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: