[DOCS-3358] Give example of MMS backup user for 2.6 and pre-2.6 Created: 06/May/14  Updated: 11/Jan/17  Resolved: 25/Jun/14

Status: Closed
Project: Documentation
Component/s: Cloud Manager
Affects Version/s: mms-1.4
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Daniel Coupal Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 41 weeks, 1 day ago

 Description   

This applies to both the On-Prem and Cloud documentation:
https://mms.mongodb.com/help-hosted/current/reference/authentication/
https://mms.mongodb.com/help/reference/authentication/

On those pages, we did split the examples of permissions for the MMS monitoring agent user for MMS 2.6 and 2.4.
Unfortunately, we missed the MMS backup agent example.
This one also must be spitted, as the current example does not work for 2.6.

MongoDB shell version: 2.6.0
connecting to: test
> use admin
> db.addUser( { user: "backup2",
...               pwd: "backup2",
...               roles: [ "clusterAdmin",
...                        "readAnyDatabase",
...                        "userAdminAnyDatabase"
...                      ],
...                otherDBRoles: { local: ['readWrite'],
...                                admin: ['readWrite'] } } )
WARNING: The 'addUser' shell helper is DEPRECATED. Please use 'createUser' instead
2014-05-06T15:19:42.672-0700 Error: couldn't add user: "otherDBRoles" is not a valid argument to createUser at src/mongo/shell/db.js:1004


Generated at Thu Feb 08 07:45:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.