Deprecate DB.addUser and DB.removeUser

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.12.0
    • Affects Version/s: None
    • Component/s: API, Authentication
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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

              Assignee:
              Unassigned
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: