Exclude service accounts from top-level group owners

What does this MR do and why?

Exclude service accounts from top-level group owners and improve query

  • Add service accounts to excluded user types in member_owners_excluding_project_bots
  • Rename member_owners_excluding_project_bots to member_owners_excluding_project_bots_and_service_accounts
  • Change modal displayed text according to the changes

#517521 (closed)

Changelog: fixed
EE: true

References

Screenshots or screen recordings

Before After
517521.Before 517521.After

Updated screenshot after review: image

How to set up and validate locally

  1. Create a new group http://127.0.0.1:3000/groups/new
  2. Add new Service account member, giving role as owner
  3. Try to leave the group

See the video.

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 Daniele Bracciani

Merge request reports

Loading