mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-25 14:32:05 +00:00
fix: 修改上传录像 api 权限
This commit is contained in:
parent
e3b620089a
commit
add4d8d2cd
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user