chore: restrict member to see private projects (#5640)

This commit is contained in:
Bavisetti Narayan 2024-09-18 14:54:35 +05:30 committed by GitHub
parent 1c0c1586cb
commit 30018d64a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -173,7 +173,7 @@ class ProjectViewSet(BaseViewSet):
member=request.user,
workspace__slug=slug,
is_active=True,
role=10,
role=15,
).exists():
projects = projects.filter(
Q(