Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-157

Support showing databases a user has permissions on when they don't have access to `listDatabases`

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.6.8
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Needed
    • Hide

      We probably want to update our documentation to note that in order to view collections in a database a user needs access to `listCollections`. When `listDatabases` fails because of lack of permissions we now fetch which roles and permissions the current user has, and we list those databases involved.
      Thanks!

      Show
      We probably want to update our documentation to note that in order to view collections in a database a user needs access to `listCollections`. When `listDatabases` fails because of lack of permissions we now fetch which roles and permissions the current user has, and we list those databases involved. Thanks!
    • Iteration Rambutan, Iteration Star Apple, Iteration Geneva, Iteration Hamburg

      Oftentimes for db management, roles are given which restrict access for a user to a specific db or collection. Currently we perform listDatabases and listCollections on a database to help with the navigation. This doesn't work if a user doesn't have admin access. This task involves allowing a user with limited access to be able to explore their accessible data. We

      This is the most active github issue, and is also something that people are requesting for compass. https://github.com/mongodb-js/vscode/issues/96

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: