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

pull/1683/head
ibuler 6 years ago
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…
Cancel
Save