Merge pull request #2865 from jumpserver/dev_bugfix

[Bugfix] 解决审计员查看录像回放失败的问题
pull/2885/head
BaiJiangJie 2019-07-01 17:38:01 +08:00 committed by GitHub
commit 85d13c03e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class CommandViewSet(viewsets.ViewSet):
class SessionReplayViewSet(viewsets.ViewSet):
serializer_class = serializers.ReplaySerializer
permission_classes = (IsOrgAdminOrAppUser,)
permission_classes = (IsOrgAdminOrAppUser | IsAuditor,)
session = None
def create(self, request, *args, **kwargs):