Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1762

Comment on: "manual/reference/method/db.addUser.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      The documentation for addUser 2.2.2 readOnly property is incorrect. It is listed as db.addUser("username","password",

      {"readOnly":false}

      ) but it should be db.addUser("username","password",false);

      If you use the format the documentation suggests it creates a user with a readOnly field that is a document not a boolean and you can't write from this user.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            zambonilli Mike Lohmeier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 29 weeks, 1 day ago