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

Prevent granting users roles on $external database

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.4
    • None
    • Security
    • None
    • ALL

    Description

      Currently this works:

      use $external
      db.addUser({ user: "spencer",
                            roles: ['userAdmin', 'readWrite']});

      but the "readWrite@$external" role doesn't really make sense and doesn't actually allow you to do anything.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: