[WEB-780]feat: project cycle module archive (#3990)

* dev: project cycle module archive

* fix: update filter logic updated
This commit is contained in:
Bavisetti Narayan 2024-03-20 13:59:31 +05:30 committed by GitHub
parent cb4cfa1dd5
commit 2f883e4939
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 854 additions and 22 deletions

View file

@ -70,6 +70,7 @@ class PageViewSet(BaseViewSet):
.filter(
project__project_projectmember__member=self.request.user,
project__project_projectmember__is_active=True,
project__archived_at__isnull=True,
)
.filter(parent__isnull=True)
.filter(Q(owned_by=self.request.user) | Q(access=0))