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

Confusing behavior when connecting with user that has database-level permissions to Atlas cluster where the database does not exist

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Steps to reproduce:

      1. Create a non-free Atlas cluster
      2. In the security section, create a custom role that grants access to a DB that does not exist in the cluster (see screenshot below)
      3. In the security section, create a user and assign the custom role created in 2

      Connect with Compass to the Cluster created in 1, where the DB used for the custom role is not present.

      Result: Compass displays in the side bar and in the Databases tab the database created in 2, even though it does not exist in the collection.

      Expected result: the DB is not shown in the side bar and in the Databases tab as it does not exist

       

        1. image-2019-01-16-14-19-24-967.png
          68 kB
          Massimiliano Marcon

            Assignee:
            Unassigned Unassigned
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: