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

Make getUser shell helper support extra arguments to the usersInfo command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0-rc1
    • Fix Version/s: 2.6.0-rc3
    • Component/s: Security, Usability
    • Labels:
      None
    • Backwards Compatibility:
      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

            Assignee:
            spencer Spencer Brody (Inactive)
            Reporter:
            spencer Spencer Brody (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: