Files
mattermost/server/platform
9f0ae6a220 [MM-70222] Migrate UserStore Get to request context (#37646)
* Migrate UserStore Get to request context

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Clean up context imports after UserStore Get migration

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Fix UserStore Get test context fallout

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Update app interfaces for request-aware user get

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Update UserStore Get test fakes

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Thread request context through user get callers

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Use email service logger for batching context

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Pass request context to trial license lookup

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Pass request context to buildShownByList

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Pass request context to buildFavoritedByList

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Add request context to PromoteGuestToUser

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Pass request context to trial and demote flows

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Use request context in AddUserToTeam lookup

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Use plugin request context for trial license

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Use request contexts throughout team user lookups

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Document future GetUser request context migration

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>
2026-08-12 09:33:46 +02:00
..