File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/sentry/workflow_engine/endpoints Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 18
18
from sentry .models .project import Project
19
19
from sentry .notifications .notification_action .grouptype import get_test_notification_event_data
20
20
from sentry .notifications .types import TEST_NOTIFICATION_ID
21
+ from sentry .workflow_engine .endpoints .organization_workflow_index import (
22
+ OrganizationWorkflowPermission ,
23
+ )
21
24
from sentry .workflow_engine .endpoints .utils .test_fire_action import test_fire_action
22
25
from sentry .workflow_engine .endpoints .validators .base .action import BaseActionValidator
23
26
from sentry .workflow_engine .models import Action , Detector
@@ -45,6 +48,7 @@ class OrganizationTestFireActionsEndpoint(OrganizationEndpoint):
45
48
"POST" : ApiPublishStatus .EXPERIMENTAL ,
46
49
}
47
50
owner = ApiOwner .ECOSYSTEM
51
+ permission_classes = (OrganizationWorkflowPermission ,)
48
52
49
53
@extend_schema (
50
54
operation_id = "Test Fire Actions" ,
You can’t perform that action at this time.
0 commit comments