From 1e3da5097935cb6aad71a1b689d29a182d3c143d Mon Sep 17 00:00:00 2001 From: "Jiangjie.Bai" Date: Thu, 16 Jun 2022 16:47:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=AE=B0=E5=BD=95=E6=9B=B4=E6=96=B0=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/api/sharing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/terminal/api/sharing.py b/apps/terminal/api/sharing.py index 114a00da1..1a9545e54 100644 --- a/apps/terminal/api/sharing.py +++ b/apps/terminal/api/sharing.py @@ -43,6 +43,9 @@ class SessionJoinRecordsViewSet(OrgModelViewSet): ) filterset_fields = search_fields model = models.SessionJoinRecord + rbac_perms = { + 'finished': 'terminal.change_sessionjoinrecord' + } def create(self, request, *args, **kwargs): try: