Show sole-owned groups in remove organization user modal

What does this MR do and why?

When removing a user from an organization, show a list of groups that they solo own. This blocks their removal from the organization.

A follow up will be created to update the leave / self-remove modal as well.

References

Screenshots or screen recordings

How to set up and validate locally

  1. Enable ui_for_organizations and org_experimental feature flags
  2. Go to /o/<organization>/admin/users
  3. Attempt to remove a user who is a solo owner of a group in the organization.

Tip: You may ask DAP or any agent that you have to create the mock data.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Shane Maglangit

Merge request reports

Loading
Loading