perf: 内置平台置顶

This commit is contained in:
wangruidong
2024-04-08 16:31:47 +08:00
committed by w940853815
parent 45bac09dc7
commit e61f9efbf2

View File

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