[WEB-2092] chore: soft delete migration (#5286)

* chore: soft delete migration

* chore: page deletion role check
This commit is contained in:
Bavisetti Narayan 2024-08-02 13:15:59 +05:30 committed by GitHub
parent e9b1151702
commit 76983a57e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 1391 additions and 560 deletions

View file

@ -533,6 +533,7 @@ class IssueReactionSerializer(BaseSerializer):
"project",
"issue",
"actor",
"deleted_at"
]
@ -551,7 +552,7 @@ class CommentReactionSerializer(BaseSerializer):
class Meta:
model = CommentReaction
fields = "__all__"
read_only_fields = ["workspace", "project", "comment", "actor"]
read_only_fields = ["workspace", "project", "comment", "actor", "deleted_at"]
class IssueVoteSerializer(BaseSerializer):