mirror of https://github.com/jumpserver/jumpserver
fix: 修复云同步执行报错的问题(protocols,Asset=>Host)
parent
10d776f7e5
commit
18286b674c
|
@ -28,9 +28,9 @@ class AccountViewSet(OrgBulkModelViewSet):
|
|||
'default': serializers.AccountSerializer,
|
||||
}
|
||||
rbac_perms = {
|
||||
'verify_account': 'assets.test_account',
|
||||
'partial_update': 'assets.change_accountsecret',
|
||||
'su_from_accounts': 'assets.view_account',
|
||||
'verify_account': 'accounts.test_account',
|
||||
'partial_update': ['accounts.change_accountsecret', 'accounts.change_account'],
|
||||
'su_from_accounts': 'accounts.view_account',
|
||||
}
|
||||
|
||||
@action(methods=['get'], detail=False, url_path='su-from-accounts')
|
||||
|
|
Loading…
Reference in New Issue