Skip to content

Return error message when deleting group with no active owners

Serena Fang requested to merge group-destroy-worker-owner-blocked into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Related to &7171, #346173 (closed)

On Gitlab.com, GroupDestroyWorker sometimes fails due to a non-deleteable project. The failures are tracked in this Kibana dashboard.

One reason a project could fail to delete is because the group owner is blocked. A blocked user is not considered an owner of a project, and does not have the ability to remove_project, so the group deletion fails, as it should. This MR returns a more descriptive error message informing the user that the group owner is blocked.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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 charlie ablett

Merge request reports