fix: 修复云同步执行报错的问题(protocols,Asset=>Host)

pull/9535/head
Bai 2023-02-14 11:37:57 +08:00 committed by Jiangjie.Bai
parent 10d776f7e5
commit 18286b674c
1 changed files with 3 additions and 3 deletions

View File

@ -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')