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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              10 years, 40 weeks, 2 days ago