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
- is depended on by
-
DRIVERS-169 Work around localhost exception issues in addUser helpers
- Closed
- is related to
-
SERVER-12621 Reduce localhost exception permissions
- Closed