mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-12 14:18:33 +00:00
fix: View replay record operate log
This commit is contained in:
parent
06afc8a0e1
commit
726c5cf34d
@ -284,7 +284,7 @@ class SessionReplayViewSet(AsyncApiMixin, viewsets.ViewSet):
|
||||
REPLAY_OP, self.request.user, _('View'), str(session)
|
||||
)
|
||||
record_operate_log_and_activity_log(
|
||||
[session.asset_id], ActionChoices.download, detail, Session,
|
||||
[session.asset_id], ActionChoices.view, detail, Session,
|
||||
resource_display=f'{session.asset}', resource_type=_('Session replay')
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user