mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-16 23:38:36 +00:00
fix: 修复账号模版密码API查看权限问题
This commit is contained in:
@@ -79,7 +79,7 @@ class AccountHistoriesSecretAPI(RecordViewLogMixin, ListAPIView):
|
||||
http_method_names = ['get', 'options']
|
||||
permission_classes = [RBACPermission, UserConfirmation.require(ConfirmType.MFA)]
|
||||
rbac_perms = {
|
||||
'list': 'assets.view_accountsecret',
|
||||
'list': 'accounts.view_accountsecret',
|
||||
}
|
||||
|
||||
def get_queryset(self):
|
||||
|
Reference in New Issue
Block a user