mirror of https://github.com/jumpserver/jumpserver
perf: 内置平台置顶
parent
45bac09dc7
commit
e61f9efbf2
|
@ -21,6 +21,7 @@ class AssetPlatformViewSet(JMSModelViewSet):
|
|||
}
|
||||
filterset_fields = ['name', 'category', 'type']
|
||||
search_fields = ['name']
|
||||
ordering = ['-internal', 'name']
|
||||
rbac_perms = {
|
||||
'categories': 'assets.view_platform',
|
||||
'type_constraints': 'assets.view_platform',
|
||||
|
|
Loading…
Reference in New Issue