Add change_user_password function

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Cannot Reproduce
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.4
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      In the shell, prior to 2.4, addUser was used to both add new users as well as to change user passwords.

      In 2.4, if you have a user with roles granted, you need to use the changeUserPassword helper to change the password otherwise you get a duplicate key violation exception.

      WIth pymongo, add_user is still being used to maintain passwords, but it would be nice to have consistency across tools.

      Thanks.

            Assignee:
            Bernie Hackett
            Reporter:
            Jeff lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: