mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 01:11:57 +00:00
perf: report perm
This commit is contained in:
@@ -19,7 +19,7 @@ __all__ = ['AssetStatisticApi']
|
||||
class AssetStatisticApi(DateRangeMixin, APIView):
|
||||
http_method_names = ['get']
|
||||
rbac_perms = {
|
||||
'GET': 'assets.view_asset',
|
||||
'GET': 'rbac.view_assetstatisticsreport',
|
||||
}
|
||||
permission_classes = [RBACPermission, IsValidLicense]
|
||||
|
||||
|
Reference in New Issue
Block a user