File tree 1 file changed +2
-1
lines changed
src/sentry/replays/endpoints
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
from sentry .api .api_owners import ApiOwner
10
10
from sentry .api .api_publish_status import ApiPublishStatus
11
11
from sentry .api .base import region_silo_endpoint
12
- from sentry .api .bases .project import ProjectEndpoint
12
+ from sentry .api .bases .project import ProjectEndpoint , ProjectEventPermission
13
13
from sentry .apidocs .constants import RESPONSE_BAD_REQUEST , RESPONSE_FORBIDDEN , RESPONSE_NOT_FOUND
14
14
from sentry .apidocs .examples .replay_examples import ReplayExamples
15
15
from sentry .apidocs .parameters import GlobalParams , ReplayParams
@@ -34,6 +34,7 @@ class ReplayViewedByResponse(TypedDict):
34
34
class ProjectReplayViewedByEndpoint (ProjectEndpoint ):
35
35
owner = ApiOwner .REPLAY
36
36
publish_status = {"GET" : ApiPublishStatus .PUBLIC , "POST" : ApiPublishStatus .PRIVATE }
37
+ permission_classes = (ProjectEventPermission ,)
37
38
38
39
@extend_schema (
39
40
operation_id = "Get list of user who have viewed a replay" ,
You can’t perform that action at this time.
0 commit comments