add_user can't make existing user readonly on MongoDB 2.6

XMLWordPrintableJSON

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

      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:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: