fix: 修复会话加入记录更新失败的问题

pull/8495/head
Jiangjie.Bai 2022-06-16 16:47:17 +08:00 committed by Jiangjie.Bai
parent 8cbc8c0a34
commit 5c174430df
1 changed files with 3 additions and 0 deletions

View File

@ -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: