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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.1
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
    • Environment:

      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"] }
                   } )
      

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

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