[Bugfix] 修复可能引起的创建外键失败

pull/1683/head
ibuler 2018-08-08 13:10:58 +08:00
parent 3a4c7846bf
commit 3f049440b7
1 changed files with 0 additions and 1 deletions

View File

@ -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")