fix: ticket comment bug (#7854)

Co-authored-by: feng626 <1304903146@qq.com>
pull/7857/head
fit2bot 2022-03-15 16:50:51 +08:00 committed by GitHub
parent 2042c7a6e5
commit d77e84e6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ __all__ = ['CommentViewSet']
class CommentViewSet(mixins.CreateModelMixin, viewsets.ReadOnlyModelViewSet):
serializer_class = serializers.CommentSerializer
permission_classes = (RBACPermission| IsSwagger | IsAssignee | IsApplicant)
permission_classes = (RBACPermission, IsSwagger | IsAssignee | IsApplicant)
@lazyproperty
def ticket(self):