chore: restrict member to see private projects (#5640)
This commit is contained in:
parent
1c0c1586cb
commit
30018d64a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue