From 85d0242430fde4970ee88e7a37c62a9963954a4a Mon Sep 17 00:00:00 2001 From: Malachi Willey Date: Wed, 8 Oct 2025 14:00:58 -0700 Subject: [PATCH] fix(aci): Allow alerts:write to use test-fire-actions endpoint --- .../endpoints/organization_test_fire_action.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py b/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py index 483c00cb217845..8f28248910f999 100644 --- a/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py +++ b/src/sentry/workflow_engine/endpoints/organization_test_fire_action.py @@ -18,6 +18,9 @@ from sentry.models.project import Project from sentry.notifications.notification_action.grouptype import get_test_notification_event_data from sentry.notifications.types import TEST_NOTIFICATION_ID +from sentry.workflow_engine.endpoints.organization_workflow_index import ( + OrganizationWorkflowPermission, +) from sentry.workflow_engine.endpoints.utils.test_fire_action import test_fire_action from sentry.workflow_engine.endpoints.validators.base.action import BaseActionValidator from sentry.workflow_engine.models import Action, Detector @@ -45,6 +48,7 @@ class OrganizationTestFireActionsEndpoint(OrganizationEndpoint): "POST": ApiPublishStatus.EXPERIMENTAL, } owner = ApiOwner.ECOSYSTEM + permission_classes = (OrganizationWorkflowPermission,) @extend_schema( operation_id="Test Fire Actions",