realms: Require a non-empty set of users who can manage billing.

This isn't a configuration that's useful, and it seems marginally
helpful to make it hard to end up in a state where this is the empty
set.
This commit is contained in:
Tim Abbott
2025-03-10 11:23:32 -07:00
parent 6043063d21
commit f4bb1ac30f

View File

@@ -812,7 +812,7 @@ class Realm(models.Model): # type: ignore[django-manager-missing] # django-stub
can_manage_billing_group=GroupPermissionSetting(
require_system_group=False,
allow_internet_group=False,
allow_nobody_group=True,
allow_nobody_group=False,
allow_everyone_group=False,
default_group_name=SystemGroups.ADMINISTRATORS,
),