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",