Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

chore: bulk delete operation (#5258)

Bavisetti Narayan1f8f6d1b263c
diff --git a/apiserver/plane/app/views/issue/base.py b/apiserver/plane/app/views/issue/base.py
index 7d2d7a0d44..e0ec019361 100644
--- a/apiserver/plane/app/views/issue/base.py
+++ b/apiserver/plane/app/views/issue/base.py
@@ -622,7 +622,7 @@ class BulkDeleteIssuesEndpoint(BaseAPIView):
if ProjectMember.objects.filter(
workspace__slug=slug,
member=request.user,
- role=20,
+ role__in=[15, 10, 5],
project_id=project_id,
is_active=True,
).exists():