diff --git a/src/sentry/notifications/defaults.py b/src/sentry/notifications/defaults.py index af3c080d0dbbbe..4cabf5473e474b 100644 --- a/src/sentry/notifications/defaults.py +++ b/src/sentry/notifications/defaults.py @@ -24,7 +24,6 @@ NotificationSettingEnum.QUOTA_PROFILE_DURATION_UI: NotificationSettingsOptionEnum.ALWAYS, NotificationSettingEnum.QUOTA_SEER_BUDGET: NotificationSettingsOptionEnum.ALWAYS, NotificationSettingEnum.QUOTA_LOG_BYTES: NotificationSettingsOptionEnum.ALWAYS, - NotificationSettingEnum.QUOTA_PREVENT_USERS: NotificationSettingsOptionEnum.ALWAYS, NotificationSettingEnum.QUOTA_SEER_USERS: NotificationSettingsOptionEnum.ALWAYS, NotificationSettingEnum.QUOTA_WARNINGS: NotificationSettingsOptionEnum.ALWAYS, NotificationSettingEnum.QUOTA_SPEND_ALLOCATIONS: NotificationSettingsOptionEnum.ALWAYS, diff --git a/src/sentry/notifications/types.py b/src/sentry/notifications/types.py index b6195af991a4b8..1b447cc19b3107 100644 --- a/src/sentry/notifications/types.py +++ b/src/sentry/notifications/types.py @@ -34,7 +34,6 @@ class NotificationSettingEnum(ValueEqualityEnum): QUOTA_SEER_BUDGET = "quotaSeerBudget" QUOTA_SPEND_ALLOCATIONS = "quotaSpendAllocations" QUOTA_LOG_BYTES = "quotaLogBytes" - QUOTA_PREVENT_USERS = "quotaPreventUsers" QUOTA_SEER_USERS = "quotaSeerUsers" SPIKE_PROTECTION = "spikeProtection" MISSING_MEMBERS = "missingMembers" @@ -152,10 +151,6 @@ class UserOptionsSettingsKey(Enum): NotificationSettingsOptionEnum.ALWAYS, NotificationSettingsOptionEnum.NEVER, }, - NotificationSettingEnum.QUOTA_PREVENT_USERS: { - NotificationSettingsOptionEnum.ALWAYS, - NotificationSettingsOptionEnum.NEVER, - }, NotificationSettingEnum.QUOTA_SEER_USERS: { NotificationSettingsOptionEnum.ALWAYS, NotificationSettingsOptionEnum.NEVER, diff --git a/tests/sentry/notifications/api/endpoints/test_notification_defaults.py b/tests/sentry/notifications/api/endpoints/test_notification_defaults.py index 457b8528f9e675..9089591778ec29 100644 --- a/tests/sentry/notifications/api/endpoints/test_notification_defaults.py +++ b/tests/sentry/notifications/api/endpoints/test_notification_defaults.py @@ -34,7 +34,6 @@ def test_basic(self) -> None: "spikeProtection": "always", "workflow": "subscribe_only", "brokenMonitors": "always", - "quotaPreventUsers": "always", "quotaSeerUsers": "always", }, } diff --git a/tests/sentry/notifications/api/endpoints/test_user_notification_settings_options.py b/tests/sentry/notifications/api/endpoints/test_user_notification_settings_options.py index fb66406b6f202f..324489e32c07d6 100644 --- a/tests/sentry/notifications/api/endpoints/test_user_notification_settings_options.py +++ b/tests/sentry/notifications/api/endpoints/test_user_notification_settings_options.py @@ -105,7 +105,6 @@ def test_user_scope(self) -> None: NotificationSettingEnum.QUOTA_MONITOR_SEATS, NotificationSettingEnum.QUOTA_SPANS, NotificationSettingEnum.QUOTA_LOG_BYTES, - NotificationSettingEnum.QUOTA_PREVENT_USERS, NotificationSettingEnum.QUOTA_SEER_USERS, ]