Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25655

mongodb permission issues

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.12
    • Component/s: Admin
    • Labels:
      None
    • ALL

      Hey Guys

      I have been observing some strange permissions related behaviour in mongodb.

      1. use db01
      2. create user01 with dbOwner role on db01
      3. login as user01
      4. db.testData.insert({"state": 1})
      5. use db02
      6. create user02 with dbOwner role on db02
      7. login as user02
      8. use db01
      9. show collections

      What you should see:

      • error you do not have permissions to access db01

      What you actually see:

      • user02 seems to be able to list the tables / collections on db01 without any issues

            Assignee:
            Unassigned Unassigned
            Reporter:
            michael.qiu@wdtl.com asdf01
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: