Browse Source

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

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

1
apps/tickets/api/ticket.py

@ -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