-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Not Needed
-
Developer Tools
Problem Statement/Rationale
Compass does not respect the reject:true option of the setQuerySettings command and allows the query to run regardless.
Steps to Reproduce
- Use the setQuerySettings command to block a query from running by using the reject:true option.
- While mongosh for example will block the query with the message: MongoServerError[QueryRejectedBySettings]: Query rejected by admin query settings, Compass on the other hand will allow it to run.
Expected Results
Compass should respect this option and block the query from being executed.
Actual Results
Compass does not respect it and allows the query to proceed either way.
Additional Notes
Any additional information that may be useful to include.