[WEB-2250] fix: filter projects with create permission while selecting the project in create issue modal. (#5630)
This commit is contained in:
parent
3b40158d9a
commit
524033411e
2 changed files with 8 additions and 5 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue