8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 23:43:47 +00:00

Merge branch 'fix_alias_perms' into 'dev'

Fix function called by perm check

See merge request federez/re2o!473
This commit is contained in:
klafyvel 2019-11-25 15:41:10 +01:00
commit a7d871e204

View file

@ -1662,7 +1662,7 @@ class Domain(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
if self.interface_parent:
return self.interface_parent
else:
return self.cname.get_parent_interface()
return self.cname.get_source_interface
@staticmethod
def can_create(user_request, interfaceid, *_args, **_kwargs):