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

db.addUser() docs are unclear about "roles"

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

      At http://docs.mongodb.org/manual/reference/method/db.addUser/#db.addUser it says about roles in the table:

      roles array Optional. An array of user roles.

      But there is no statement about what happens if no roles are passed, or this field isn't present. I presume that means that it uses legacy auth?

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

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