Refactor profile authentication log to show relevent events
What does this MR do and why?
- Resolves a bug where the user authentication log would show any audit event with the user as the entity would be shown as an authentication event.
- Uses the data in the
authentication_events
table instead to populate this page.
Screenshots or screen recordings
How to set up and validate locally
- Login as a user.
- Check the authentication log(
/-/profile/audit_log
) contains the correct information. - Perform some action on that user (blocking them for example) and ensure that that action does not show in the authentication log as an authentication event.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #333124 (closed)
Edited by Max Woolf