Currently addUser and removeUser directly access the system.users collection. In MongoDB 2.6 new commands will be added to add, remove, and update a user. The driver should use those commands when talking to a 2.6 server.
In addition, those commands can take a write concern so the helper methods should be overloaded to take a WriteConcern.
- depends on
-
SERVER-6246 Manipulate user objects exclusively via commands
- Closed
-
SERVER-10593 Expose built-in roles that can be used with the deprecated addUser helper that just takes a readOnly bool
- Closed
-
SERVER-10855 Add a way to specify in createUser and updateUser commands whether the server should hash the password or the driver already has
- Closed
- is depended on by
-
DRIVERS-103 Manipulate user objects exclusively via commands
- Closed