[WEB-2250] fix: filter projects with create permission while selecting the project in create issue modal. (#5630)

This commit is contained in:
Prateek Shourya 2024-09-18 13:32:24 +05:30 committed by GitHub
parent 3b40158d9a
commit 524033411e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 5 deletions

View file

@ -414,6 +414,7 @@ class UserProjectRolesEndpoint(BaseAPIView):
project_members = ProjectMember.objects.filter(
workspace__slug=slug,
member_id=request.user.id,
is_active=True,
).values("project_id", "role")
project_members = {