From add4d8d2cd8a7cc9e9e625291f22b6e1a6e1994c Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 23 Feb 2022 15:47:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=BD=95=E5=83=8F=20api=20=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/api/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/terminal/api/session.py b/apps/terminal/api/session.py index 6bc76bd81..7c4c79ee9 100644 --- a/apps/terminal/api/session.py +++ b/apps/terminal/api/session.py @@ -164,8 +164,8 @@ class SessionReplayViewSet(AsyncApiMixin, viewsets.ViewSet): download_cache_key = "SESSION_REPLAY_DOWNLOAD_{}" session = None rbac_perms = { - 'create': 'terminal.upload_session', - 'retrieve': 'terminal.download_session', + 'create': 'terminal.upload_sessionreplay', + 'retrieve': 'terminal.download_sessionreplay', } def create(self, request, *args, **kwargs):