jumpserver/apps/acls/const.py

12 lines
364 B
Python
Raw Normal View History

from django.db import models
from django.utils.translation import gettext_lazy as _
class ActionChoices(models.TextChoices):
reject = 'reject', _('Reject')
accept = 'accept', _('Accept')
review = 'review', _('Review')
2024-03-29 07:29:04 +00:00
warning = 'warning', _('Warn')
notice = 'notice', _('Notify')
2024-09-05 07:49:58 +00:00
notify_and_warn = 'notify_and_warn', _('Notify and warn')