From 3a1d945f30b9542b4898f110c965178f6ee6f250 Mon Sep 17 00:00:00 2001 From: NarayanBavisetti Date: Tue, 29 Aug 2023 12:51:25 +0530 Subject: [PATCH] fix: added project member filter --- apiserver/plane/api/views/view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apiserver/plane/api/views/view.py b/apiserver/plane/api/views/view.py index e630a1eba..1543e7bee 100644 --- a/apiserver/plane/api/views/view.py +++ b/apiserver/plane/api/views/view.py @@ -65,6 +65,7 @@ class WorkspaceViewIssuesEndpoint(BaseAPIView): Issue.issue_objects.filter( **queries, workspace__slug=slug, + project__project_projectmember__member=self.request.user ) .filter(**filters) .select_related("workspace")