Skip to content

Fix hard-deleting users when they have authored issues

Nick Thomas requested to merge (removed):33215-fix-hard-delete-of-users into master

What does this MR do?

Fix the "hard-delete" functionality available to administrators

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

If a user had authored any issues, then hard deletion broke due to a stray dependent: :restrict_with_exception invocation in the user model.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #33215 (closed)

Edited by Nick Thomas

Merge request reports