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

Comment on: "mms/management/permissions.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.1
    • None
    • manual

    Description

      Currently comma is missing in the command to add the MMS backup user in this page. If we copy this command, replace the username/password and run the command to add the user, it will fail with "SyntaxError: Unexpected identifier".

      The command is like this in the doc:

      use admin
      db.addUser( { user: "<username>",
                    pwd: "<password>",
                    roles: [ "clusterAdmin",
                             "readAnyDatabase",
                             "userAdminAnyDatabase"
                           ] //The comma is missing here
                    otherDBRoles: { local: ["readWrite"],
                                    admin: ["readWrite"] }
                   } )

      It should be:

      use admin
      db.addUser( { user: "<username>",
                    pwd: "<password>",
                    roles: [ "clusterAdmin",
                             "readAnyDatabase",
                             "userAdminAnyDatabase"
                           ],
                    otherDBRoles: { local: ["readWrite"],
                                    admin: ["readWrite"] }
                   } )

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            linda.qin@mongodb.com Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 1 week, 1 day ago