fix: 修改查看会话录像权限位

This commit is contained in:
Jiangjie.Bai
2022-03-15 11:33:38 +08:00
committed by Jiangjie.Bai
parent 6a0264ad3b
commit 3924ff0114
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ class SessionReplayViewSet(AsyncApiMixin, viewsets.ViewSet):
session = None
rbac_perms = {
'create': 'terminal.upload_sessionreplay',
'retrieve': 'terminal.download_sessionreplay',
'retrieve': 'terminal.view_sessionreplay',
}
def create(self, request, *args, **kwargs):