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

Co-authored-by: feng626 <1304903146@qq.com>
pull/7756/head
fit2bot 2022-03-07 17:55:35 +08:00 committed by GitHub
parent 27560793f8
commit 8271492ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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