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`

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.6.8
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Documentation Changes:
      Needed
    • Documentation Changes Summary:
      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!
    • Sprint:
      Iteration Rambutan, Iteration Star Apple, Iteration Geneva, Iteration Hamburg

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: