I have a MongoDB replica set with MMS. I created a user with all privileges (all available on MMS) but I can\'t access to the local db and/or oplog colecction. TRACE:
<
Check this link
Basically, from mongo 2.6 you need to create a user and grant access to the oplog (as well as accessing the DB using the right credentials)
Something like:
db.runCommand({ createRole: "oplogger",
privileges: [{ resource: { db: 'local', collection: 'oplog.rs'},
actions: ['find']}, ],
roles: [{role: 'read', db: 'local'}] })
Full procedure here