fix: 修改文案 切换用户 -> 用户切换

This commit is contained in:
Michael Bai
2021-11-05 16:39:08 +08:00
committed by Jiangjie.Bai
parent 07c60ca75d
commit f9e970f4ed
4 changed files with 5 additions and 5 deletions

View File

@@ -209,7 +209,7 @@ class SystemUser(ProtocolMixin, AuthMixin, BaseUser):
system_groups = models.CharField(default='', max_length=4096, verbose_name=_('System groups'), blank=True)
ad_domain = models.CharField(default='', max_length=256)
# linux su 命令 (switch user)
su_enabled = models.BooleanField(default=False, verbose_name=_('Switch user'))
su_enabled = models.BooleanField(default=False, verbose_name=_('User switch'))
su_from = models.ForeignKey('self', on_delete=models.SET_NULL, related_name='su_to', null=True, verbose_name=_("Switch from"))
def __str__(self):