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

User with Custom Role having @db_name(all collections) doesn't see collections

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: 1.39.4
    • Component/s: None
    • None
    • Environment:
      OS:
      - Compass on Windows 10
      - db is free plan
    • Not Needed

      Problem Statement/Rationale

      If we connect with a user having a custom role with only "(find, insert, remove, etc) @db_name(all collections)" permission, Compass won't show any collection available in the database. I confirmed the user had the permission through c# db calls using it. But for Compass to display the collections, we need to add every one of them manually instead of "all collections".

      Steps to Reproduce

      • create a new custom role
      • add "(find, insert, remove, etc) @db_name(all collections)" permission for a database containing collections to this custom role
        * create a new user, with this custom role
      • connect to compass with the new user

      Expected Results

      All the db collections should be displayed.

      Actual Results

      Collections won't be displayed.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            alexandre.vosv@gmail.com Alexandre VS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: