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
Changelog: fixed
EE: true
References
Screenshots or screen recordings
| Before | After |
|---|---|
| 517521.Before | 517521.After |
Updated screenshot after review:

How to set up and validate locally
- Create a new group
http://127.0.0.1:3000/groups/new - Add new Service account member, giving role as
owner - 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