fix: 修复会话录像播放权限

This commit is contained in:
Jiangjie.Bai
2022-03-16 19:56:11 +08:00
committed by Jiangjie.Bai
parent aa022a02c1
commit 30556023d1
2 changed files with 15 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ class SessionViewSet(OrgBulkModelViewSet):
]
extra_filter_backends = [DatetimeRangeFilter]
rbac_perms = {
'download': ['terminal.download_sessionreplay']
'download': ['terminal.download_sessionreplay|terminal.view_sessionreplay']
}
@staticmethod