user: Remove is_billing_admin user property.

Removed `is_billing_admin` user property as it is no longer used since
billing permissions are now determined by `can_manage_billing_group`
realm setting.
This commit is contained in:
Vector73
2025-03-08 21:36:17 +00:00
committed by Tim Abbott
parent e9334abbf4
commit c049259d07
25 changed files with 22 additions and 176 deletions

View File

@@ -109,7 +109,6 @@ from zerver.lib.event_types import (
PersonEmail,
PersonFullName,
PersonIsActive,
PersonIsBillingAdmin,
PersonRole,
PersonTimezone,
PlanTypeData,
@@ -258,7 +257,6 @@ PERSON_TYPES: dict[str, type[BaseModel]] = dict(
delivery_email=PersonDeliveryEmail,
email=PersonEmail,
full_name=PersonFullName,
is_billing_admin=PersonIsBillingAdmin,
role=PersonRole,
timezone=PersonTimezone,
is_active=PersonIsActive,