Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8914

Compass does not respect the reject:true option of setQuerySettings.

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • 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

      1. Use the setQuerySettings command to block a query from running by using the reject:true option.
      2. 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.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            reginald.chounoune@mongodb.com Reginald Chounoune
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: