mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This fixes a regression where one could end up deactivating all owners of a realm when trying to synchronize LDAP with the `is_realm_admin` flag configured in `AUTH_LDAP_USER_FLAGS_BY_GROUP`. With tweaks by tabbott to add is_moderator as well. Fixes #18677.