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

Make getUser shell helper support extra arguments to the usersInfo command

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc3
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Security, Usability
    • Labels:
      None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: