Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Crystal Hsing
Created on May 26, 2026

Exposing `querySettings` as an action for Atlas custom roles

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

atlasAdmin is the only role that grants querySettings, which forces apps that need persistent query settings to run with full cluster-admin privileges.

What would you like to see happen?

Describe the desired outcome or enhancement.

Please expose querySettings as a selectable action in Atlas custom roles so we can follow least-privilege.

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

We'd like to have our application run the setQuerySettings command in the same way that it runs the createIndex command.

What steps, if any, are you taking today to manage this problem?

We ran the setQuerySettings command manually in MongoDB shell.