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

add_user can't make existing user readonly on MongoDB 2.6

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

      Bug in unreleased PyMongo code. When talking with MongoDB 2.4, the following operations result in a read-only user:

      db.add_user('jesse')
      db.add_user('jesse', read_only=True)
      

      But in MongoDB 2.6 the user still has the default role, "dbOwner", even after trying to make him read-only.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: