mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-12-20 19:12:54 +00:00
fix: 修复会话加入记录更新失败的问题
This commit is contained in:
committed by
Jiangjie.Bai
parent
0e3bfcc6ea
commit
011262a37b
@@ -43,6 +43,9 @@ class SessionJoinRecordsViewSet(OrgModelViewSet):
|
||||
)
|
||||
filterset_fields = search_fields
|
||||
model = models.SessionJoinRecord
|
||||
rbac_perms = {
|
||||
'finished': 'terminal.change_sessionjoinrecord'
|
||||
}
|
||||
|
||||
def create(self, request, *args, **kwargs):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user