-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: API, Authentication
-
None
With the introduction of actual commands to support adding, updating, and removing users, there is no longer a need for helper methods in the DB class to handle those activities, and in particular the addUser method is not expressive enough to handle the full range of updates that are now allowed. Given that, we are going to deprecate DB.addUser/removeUser, and have people use DB.runCommand directly and use the following commands:
- addUser
- updateUser
- dropUser