Skip to content

chore: Remove stale User entry from the paramcheck allowlist - #4437

Merged
gmlewis merged 1 commit into
google:masterfrom
JamBalaya56562:chore/4433-remove-stale-user-allowlist
Aug 6, 2026
Merged

chore: Remove stale User entry from the paramcheck allowlist#4437
gmlewis merged 1 commit into
google:masterfrom
JamBalaya56562:chore/4433-remove-stale-user-allowlist

Conversation

@JamBalaya56562

Copy link
Copy Markdown
Contributor

Follow-up to #4433.

That PR converted UsersService.Update to take the new UserUpdateRequest by value, which was the only place User was used as a request body. The corresponding User entry in the paramcheck body-allowed-pointer-types allowlist (whose header says "TODO: fix and remove these exceptions") became dead but wasn't removed.

This removes the entry. Verified that custom-gcl reports no paramcheck findings with the exception gone, confirming nothing still passes *User as a request body. For reference, UserUpdateRequest itself matches the documented PATCH /user schema exactly (all eight parameters optional), so no further follow-up is needed there.

Updates #3644

Follow-up to google#4433: UsersService.Update now takes UserUpdateRequest by
value, so User is no longer used as a request body anywhere and its
body-allowed-pointer-types exception is dead. Removing it produces no
paramcheck findings.

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @JamBalaya56562!
LGTM.
Merging.

@gmlewis
gmlewis merged commit 3f04c1d into google:master Aug 6, 2026
1 check passed
@JamBalaya56562
JamBalaya56562 deleted the chore/4433-remove-stale-user-allowlist branch August 6, 2026 17:34
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.

2 participants