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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.9
    • Component/s: manual
    • Environment:
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      In the roles section of what fields are required. It doesn't mention that the roles are optional. On the db.createRole page it says "You must specify the privileges field. Use an empty array to specify no privileges." in the privileges field, the roles field should say something similar.

      I had to create a user with no roles then grant them later on in the script but I had to initially guess that mongodb wouldnt error when I tried to create a user without roles.

        Attachments

          Activity

            People

            Assignee:
            kay.kim Kay Kim (Inactive)
            Reporter:
            xgen-internal-docs Docs Collector User
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              7 years, 13 weeks ago
              Date of 1st Reply: