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

Make getUser shell helper support extra arguments to the usersInfo command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc3
    • 2.6.0-rc1
    • Security, Usability
    • None
    • Fully Compatible

    Description

      The getUsers, getRole, and getRoles helpers all support an arguments dict that gets passed into usersInfo/rolesInfo and allows specifying options such as

      {showPrivileges:1}

      , but the db.getUser() helper does not. We should add that functionality to the getUser helper so it is more similar to the other user/role viewing helpers.

      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: