Skip to content

Add associations alert to `Delete user and contributions` modal

What does this MR do and why?

Related to #364090 (closed)

In Admin area -> Users there is a dropdown next to each user that allows you to Delete user and contributions. Currently it does not tell you what contributions will be deleted. This MR adds a summary alert listing how many projects, groups, issues, and merge requests will be deleted.

Screenshots or screen recordings

Before After
Screen_Recording_2022-11-01_at_2.47.08_PM Screen_Recording_2022-11-01_at_2.45.54_PM

How to set up and validate locally

  1. Navigate to /admin/users
  2. Click the User administration dropdown next to a user
  3. Click Delete user and contributions

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports