[DOCS-14883] [SERVER] Investigate changes in SERVER-60425: User cache not used when running usersInfo on config servers Created: 19/Oct/21  Updated: 13/Nov/23  Resolved: 20/Dec/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.2.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jeffrey Allen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-60425 User cache not used when running user... Closed
Participants:
Days since reply: 2 years, 3 weeks ago
Epic Link: DOCSP-17171
Story Points: 3

 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.



 Comments   
Comment by Githook User [ 20/Jan/22 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14883): Omit custom data from user response (#145)

  • (DOCS-14883): Omit custom data from user response
  • fix syntax highlighting
  • updates per copy review
  • updates per copy review
  • adjust table width
  • word change
  • add 'copyable false'
  • quick copy edit
Comment by Githook User [ 21/Dec/21 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14883): Omit custom data from user response (#145)

  • (DOCS-14883): Omit custom data from user response
  • fix syntax highlighting
  • updates per copy review
  • updates per copy review
  • adjust table width
  • word change
  • add 'copyable false'
  • quick copy edit
Comment by Githook User [ 20/Dec/21 ]

Author:

{'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-14883): Omit custom data from user response (#145)

  • (DOCS-14883): Omit custom data from user response
  • fix syntax highlighting
  • updates per copy review
  • updates per copy review
  • adjust table width
  • word change
  • add 'copyable false'
  • quick copy edit
Comment by PM Bot [ 19/Oct/21 ]

Downstream changes updated for upstream SERVER-60425:
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 `

{usersInfo: 1}

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

Generated at Thu Feb 08 08:11:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.