fix: 修复查看资产密钥bug (#7754)

Co-authored-by: feng626 <1304903146@qq.com>
pull/7756/head
fit2bot 3 years ago committed by GitHub
parent 27560793f8
commit 8271492ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,8 +88,8 @@ class AccountSecretsViewSet(AccountViewSet):
http_method_names = ['get'] http_method_names = ['get']
permission_classes = [RBACPermission, NeedMFAVerify] permission_classes = [RBACPermission, NeedMFAVerify]
rbac_perms = { rbac_perms = {
'list': 'assets.view_assetsecret', 'list': 'assets.view_assetaccountsecret',
'retrieve': 'assets.view_assetsecret', 'retrieve': 'assets.view_assetaccountsecret',
} }

Loading…
Cancel
Save