From 8271492ec1acc6b8094e1a4c66742c96f4646269 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Mon, 7 Mar 2022 17:55:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E8=B5=84=E4=BA=A7=E5=AF=86=E9=92=A5bug=20(#7754)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng626 <1304903146@qq.com> --- apps/assets/api/accounts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/assets/api/accounts.py b/apps/assets/api/accounts.py index fcdcce8d7..0a3fe3dfa 100644 --- a/apps/assets/api/accounts.py +++ b/apps/assets/api/accounts.py @@ -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', }