Add audit event for user unblock action
What does this MR do and why?
This MR partially addresses the feature request: #377620 (closed). It logs audit events for the following actions:
-
User Unblocked via Admin API -
User Unblocked via UI/Admin Area
Screenshots or screen recordings
How to set up and validate locally
- Check the current behaviour in the master branch
- Block a user account and notice that it logs the audit event
- Unblock the same user and notice that the event is not logged
- Checkout the feature branch
- Block and unblock the user - Audit events page(
http://localhost:3000/admin/audit_logs
) shows both actions
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.
Edited by sameer shaik