mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 01:45:27 +00:00
fix: 修复index api perm (#7761)
Co-authored-by: feng626 <1304903146@qq.com>
This commit is contained in:
@@ -214,7 +214,7 @@ class DatesLoginMetricMixin:
|
||||
class IndexApi(DatesLoginMetricMixin, APIView):
|
||||
http_method_names = ['get']
|
||||
rbac_perms = {
|
||||
'GET': 'common.view_resourcestatistics'
|
||||
'GET': 'rbac.view_resourcestatistics'
|
||||
}
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user