Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14883

[SERVER] Investigate changes in SERVER-60425: User cache not used when running usersInfo on config servers

    XMLWordPrintableJSON

Details

    Description

      Downstream Change Summary

      This ticket introduced a new option to the `usersInfo` command, `showCustomData`. `showCustomData` is a boolean option that is set to `true` by default. It controls whether or not the user-specified `customData` field in the user document is included in the output of `usersInfo`.
      The `showCustomData` option can be specified for all variants of `userInfo` (exact-match with 1 or multiple users in a doc/array, or `

      Unknown macro: {usersInfo}

      ` or `{usersInfo: {forAllDBs: true}}`.

      Description of Linked Ticket

      The authorization user cache is not being used by config servers when running `usersInfo` commands. This has various performance and security implications, as detailed in the comment below.

      Attachments

        Activity

          People

            jeffrey.allen@mongodb.com Jeffrey Allen
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 3 weeks ago