jumpserver/apps/common/models.py

11 lines
289 B
Python
Raw Normal View History

2022-02-23 09:06:07 +00:00
from django.db import models
from django.utils.translation import gettext_lazy as _
class Permission(models.Model):
class Meta:
verbose_name = _("Common permission")
2022-02-23 09:06:07 +00:00
permissions = [
('view_resourcestatistics', _('Can view resource statistics'))
]