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

No collections listed in sidebar

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • Not Needed

      HELP-12592 reports users with custom permissions see 0 collections in the sidebar due to data-service instance-detail-helper not defaulting gracefully on isNotAuthorized(err).

      Repro

      1. Connect to VPN
      2. Connect to TSE Testing deployment on atlas mongodb+srv://mansi1:mansi1@persistentcluster1-z01xy.mongodb.net/
      3. Connection succeeds but sidebar has 0 collections:

      mongodb-data-service:instance-detail-helper checking we can get buildInfo... +31ms
      mongodb-data-service:instance-detail-helper user does not have hostInfo privilege, returning empty document {} +416ms
      mongodb-data-service:instance-detail-helper isDataLake check: buildInfo.queryEngine +141ms undefined
      mongodb-data-service:instance-detail-helper getCmdLineOpts failed! +3ms MongoError: not authorized on admin to execute command { getCmdLineOpts: 1, lsid: { id: UUID("a0258459-bd56-4387-9e6a-38b576d87134") }, $clusterTime: { clusterTime: Timestamp(1575560845, 1), signature: { hash: BinData(0, B3432FDC9B4B4F5FA738CCEF857CCBD6BFBBB589), keyId: 6717742709697675265 } }, $db: "admin" }
          at Connection.<anonymous> (/Applications/MongoDB Compass Beta.app/Contents/Resources/app.asar/node_modules/mongodb-core/lib/connection/pool.js:443:61)
          at Connection.emit (events.js:182:13)
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            lucas.hrabovsky Lucas Hrabovsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: