From ff9347e34452c247a34a21283a428e4cbde91794 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Wed, 16 Feb 2022 14:37:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A5=E5=8D=95=E6=B5=81=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E8=B6=85=E7=BA=A7=E7=AE=A1=E7=90=86=E5=91=98=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tickets/api/ticket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tickets/api/ticket.py b/apps/tickets/api/ticket.py index bca98e1fd..3d1d3081e 100644 --- a/apps/tickets/api/ticket.py +++ b/apps/tickets/api/ticket.py @@ -81,7 +81,7 @@ class TicketViewSet(CommonApiMixin, viewsets.ModelViewSet): class TicketFlowViewSet(JMSBulkModelViewSet): - permission_classes = (IsOrgAdmin,) + permission_classes = (IsSuperUser,) serializer_class = serializers.TicketFlowSerializer filterset_fields = ['id', 'type']