mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Since the invariant we're trying to protect is that every realm has an active owner, we should check precisely that. The root bug here, which the parent commit failed to fix properly, is that we were doing a "greater than" check when we clearly originally meant a "less than" check -- lower role numbers have more permissions.