perf: Approval process role selection supports multiple strategies

This commit is contained in:
feng
2024-07-26 16:23:38 +08:00
committed by Bryan
parent 920cfdac5c
commit 41b2ce06a8
4 changed files with 103 additions and 87 deletions

View File

@@ -50,13 +50,6 @@ class TicketLevel(IntegerChoices):
two = 2, _("Two level")
class TicketApprovalStrategy(TextChoices):
org_admin = 'org_admin', _("Org admin")
custom_user = 'custom_user', _("Custom user")
super_admin = 'super_admin', _("Super admin")
super_org_admin = 'super_org_admin', _("Super admin and org admin")
class TicketApplyAssetScope(TextChoices):
all = 'all', _("All assets")
permed = 'permed', _("Permed assets")