Skip to content

WIP: Add additional user actions in Audit events

James Lopez requested to merge feature/user-audit into master

Adds the additional user events (this does not change the underlying current audit mechanism)

I decided using callbacks to make sure we don't forget to add a relevant event for actions added in the future.

I decided against Thread local as I had problems in the past and because of this, this and this.

  • Add a new email address
  • Remove an email address
  • Password change
  • Forget password
  • Failed to login
  • Add SSH key
  • Grant Oauth access

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/1370

Edited by James Lopez

Merge request reports