From 80903d12185c2c573385df3c6971de89e70cb3fc Mon Sep 17 00:00:00 2001 From: Bai Date: Tue, 14 Feb 2023 11:29:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=AF=86=E9=92=A5=E6=9F=A5=E7=9C=8Brbac=E6=9D=83=E9=99=90?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/accounts/api/account/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/accounts/api/account/account.py b/apps/accounts/api/account/account.py index 8a9556c50..91319efe7 100644 --- a/apps/accounts/api/account/account.py +++ b/apps/accounts/api/account/account.py @@ -67,8 +67,8 @@ class AccountSecretsViewSet(RecordViewLogMixin, AccountViewSet): http_method_names = ['get', 'options'] permission_classes = [RBACPermission, UserConfirmation.require(ConfirmType.MFA)] rbac_perms = { - 'list': 'assets.view_accountsecret', - 'retrieve': 'assets.view_accountsecret', + 'list': 'accounts.view_accountsecret', + 'retrieve': 'accounts.view_accountsecret', }