Skip to content

Draft: Ensure last active group owner is retained by creator service

Drew Blessing requested to merge dblessing_group_last_owner_fix into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Fixes #367953 (closed)

In cases where authorization is skipped when adding members (i.e. SAML Group Sync), the last owner condition that is normally checked within permission policies is skipped. This can lead to a group's last active owner being removed or having access level decreased. This leaves groups ownerless. This change ensures the last owner check occurs anytime even when skipping authorization.

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.

Merge request reports