Add user state changes to audit events

A user in GitLab can go through multiple different states, like active, blocked & deactivated.

Add audit events whenever a user changes from one state to another - say, from active to deactivated, and how the status was changed (e.g. deactivated via API, or through manual intervention).

In CE, instead of audit events, these events should likely go into Gitlab::AppLogger

Edited Feb 04, 2022 by Daphne Kua
Assignee Loading
Time tracking Loading