Browse Source

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

pull/9535/head
Bai 2 years ago committed by Jiangjie.Bai
parent
commit
18286b674c
  1. 6
      apps/accounts/api/account/account.py

6
apps/accounts/api/account/account.py

@ -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…
Cancel
Save