mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 修复可能引起的创建外键失败
parent
3a4c7846bf
commit
3f049440b7
|
@ -88,5 +88,4 @@ class NodePermission(OrgModelMixin):
|
|||
return "{}:{}:{}".format(self.node.value, self.user_group.name, self.system_user.name)
|
||||
|
||||
class Meta:
|
||||
unique_together = ('node', 'user_group', 'system_user')
|
||||
verbose_name = _("Asset permission")
|
||||
|
|
Loading…
Reference in New Issue