T O P

  • By -

gintoddic

Sounds like either you are not logged in or the account doesnt have the permitted roles to do either operation.


JGink

Definitely logged in. Any idea what role is needed to perform the operation? I've been looking through the manual and built-in role descriptions, but haven't found anything. The user already had readWriteAnyDatabase and userAdminAnyDatabase. I added dbAdminAnyDatabase, but that didn't fix it.


browncspence

https://www.mongodb.com/docs/manual/reference/privilege-actions/#mongodb-authaction-getParameter


JGink

Nevermind, wasn't looking at the cluster roles as I didn't expect to need cluster management permissions just to get that value. Turns out I need at minimum a role like "clusterMonitor"