fix: 修复一些 connection-token rbac 权限控制

This commit is contained in:
Bai
2023-02-14 17:51:22 +08:00
committed by Jiangjie.Bai
parent 174106ff1e
commit 1f4fdc13aa
3 changed files with 3 additions and 4 deletions

View File

@@ -218,7 +218,7 @@ class ConnectionTokenViewSet(ExtraActionApiMixin, RootOrgViewMixin, JMSModelView
'list': 'authentication.view_connectiontoken',
'retrieve': 'authentication.view_connectiontoken',
'create': 'authentication.add_connectiontoken',
'expire': 'authentication.add_connectiontoken',
'expire': 'authentication.change_connectiontoken',
'get_rdp_file': 'authentication.add_connectiontoken',
'get_client_protocol_url': 'authentication.add_connectiontoken',
}