mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
* perf: 修改 rbac tree * perf: 修改verbose name * fix: 修复系统用户 * fix: 还原 xpack Co-authored-by: ibuler <ibuler@qq.com>
11 lines
289 B
Python
11 lines
289 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class Permission(models.Model):
|
|
class Meta:
|
|
verbose_name = _("Common permission")
|
|
permissions = [
|
|
('view_resourcestatistics', _('Can view resource statistics'))
|
|
]
|