Skip to content

Fix unknown target when approving pending users after removing user cap

What does this MR do and why?

Fixes #465888 When removing group user cap and auto approve all users in pending status. The Group Audit events show target as unknown for all approved members with message Changed the membership state to active 

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-06-05_at_4.40.05_PM Screenshot_2024-06-05_at_4.39.59_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #465888

Merge request reports