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', }