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

add_user can't make existing user readonly on MongoDB 2.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.7
    • 2.7
    • None
    • None
    • Major Change

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: