Skip to content

AMOENG-2407 - Introduce a new serializer for the lookup API endpoint and account retrieval with the Users:Lookup permission#24653

Merged
bakulf merged 2 commits intomasterfrom
lookup2
Mar 29, 2026
Merged

AMOENG-2407 - Introduce a new serializer for the lookup API endpoint and account retrieval with the Users:Lookup permission#24653
bakulf merged 2 commits intomasterfrom
lookup2

Conversation

@bakulf
Copy link
Copy Markdown
Contributor

@bakulf bakulf commented Mar 25, 2026

Reduce the amount of details we share with this API endpoint

  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
  • Add before and after screenshots (Only for changes that impact the UI).
  • Add or update relevant docs reflecting the changes made.

@bakulf bakulf requested a review from diox March 25, 2026 12:27
@bakulf bakulf changed the title AMOENG-2407 - Use FullUserProfileSerializer for the lookup API endpoint AMOENG-2407 - Introduce a new serializer for the lookup API endpoint and account retrieval with the Users:Lookup permission Mar 25, 2026
@diox diox requested review from eviljeff and removed request for diox March 26, 2026 14:33
@diox
Copy link
Copy Markdown
Member

diox commented Mar 26, 2026

(Spreading the review load)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file could do with some reworking to define what a lookup serializer response is in one place with a reference (like _account-object-self has), so we don't have to awkwardly reiterate what fields are and aren't included multiple times.

bakulf added 2 commits March 29, 2026 17:40
…and account retrieval with the Users:Lookup permission, exposing email without other sensitive fields
@bakulf bakulf merged commit 558ab33 into master Mar 29, 2026
5 checks passed
@bakulf bakulf deleted the lookup2 branch March 29, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants