Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-552

Manipulate user objects exclusively via commands (MongoDB 2.6)

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None

      Previous to MongoDB 2.5.3 adding and removing users was accomplished by reading and writing <db>.system.users. Starting with MongoDB 2.5.3 user management happens through a set of database commands. For this ticket the important commands are usersInfo, createUser, updateUser, and dropUser.

      The goal of this ticket is to keep the existing add_user and remove_user API for PyMongo, using the new commands when connected to a 2.5.3+ server, falling back to the existing code on older servers.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            barrie Barrie Segal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: