fix: 修复工单权限问题 (#8493)

Co-authored-by: feng626 <1304903146@qq.com>
pull/8497/head
fit2bot 2 years ago committed by GitHub
parent 8247f24d3f
commit fd7f73a18e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,6 +32,7 @@ class TicketViewSet(CommonApiMixin, viewsets.ModelViewSet):
'open': serializers.TicketApplySerializer
}
model = Ticket
perm_model = Ticket
filterset_class = filters.TicketFilter
search_fields = [
'title', 'type', 'status'

Loading…
Cancel
Save