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

Views/internal namespaces shouldn't be eligible for global writes

    • Type: Icon: Story Story
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.44.7
    • Affects Version/s: None
    • Component/s: Collection
    • Not Needed
    • Developer Tools

      Make sure global writes tab doesn't appear for "local", "config", "admin" and views in compass-web.

      To be consistent with the existing Data Explorer, hide collections that users cannot edit. Reimplement the logic that already exists in Data Explorer in compass-web

      Logic is at https://github.com/10gen/mms-automation/blob/be011dbca504f45a25c41195765d194ef1fa8136/go_planner/src/com.tengen/cm/mmsjob/cpsexport/list_databases.go#L18

      Just exclude "local", "config" and "admin" db's via manually hardcoding these 3.

      For now this should only be applied when rendered in the browser, but consider whether this change should also apply to Compass overall

            Assignee:
            daniel.echlin@mongodb.com Daniel Echlin
            Reporter:
            jack.weir@mongodb.com Jack Weir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: