mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 08:25:04 +00:00
fix: 授权规则支持通过 from_ticket 工单过滤
This commit is contained in:
committed by
Jiangjie.Bai
parent
7a45f4d129
commit
8f1c934f73
@@ -16,6 +16,7 @@ class ApplicationPermissionViewSet(BasePermissionViewSet):
|
||||
'name': ['exact'],
|
||||
'category': ['exact'],
|
||||
'type': ['exact', 'in'],
|
||||
'from_ticket': ['exact']
|
||||
}
|
||||
search_fields = ['name', 'category', 'type']
|
||||
custom_filter_fields = BasePermissionViewSet.custom_filter_fields + [
|
||||
|
Reference in New Issue
Block a user