Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #343933
Closed
Open
Issue created Oct 26, 2021 by Dan Jensen@djensenContributor

Audit Events: Stop storing "Deleted User" as the user name

Problem to solve

Some AuditEvent records have a user name of "Deleted User". That is due to this line in the code. However, it's not clear in exactly which circumstances that line is invoked. Preferably, that line should never be invoked. In other words, it would be better if we did not delete a user until we were finished creating AuditEvent records for that user's actions.

Proposal

Always use the user name in AuditEvent records, do not use generic user names like "Deleted User". This may require modifying application behavior to ensure AuditEvent record creation is finished before a user is deleted.

Related links

  • Related documentation MR.
Assignee
Assign to
Time tracking