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

Read-only users on M0 Atlas clusters receive error connecting with Compass

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.16.0, 1.16.0-beta.7, 1.16.1
    • Component/s: Connectivity
    • None
    • Iteration Sriracha

       

      https://jira.mongodb.org/browse/COMPASS-3001 allows users with read-only permission on a database or database.collection to use Compass to connect and review documents in the permitted namespaces.

       

      However, this does not work for users on M0 Atlas clusters.

       

      When I create a user with read access to a single database in an Atlas free tier, that user is unable to connect with Compass 1.16.0-beta.7 on MacOSX.  The error messsage I'm seeing is:

      An error occurred while loading navigation: user is not allowed to do action [listDatabases] on [admin.]

      which is show in the attached screenshot:  image-2018-10-04-11-38-03-888.png

       

       

        1. Connect_authorization_error_Compass_1_16_1.png
          102 kB
          Brian Blevins
        2. image-2018-10-04-11-37-36-490.png
          365 kB
          Brian Blevins
        3. image-2018-10-04-11-38-03-888.png
          60 kB
          Brian Blevins

            Assignee:
            Unassigned Unassigned
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: