Commit a7d871e2 authored by klafyvel's avatar klafyvel

Merge branch 'fix_alias_perms' into 'dev'

Fix function called by perm check

See merge request !473
parents 9afe81b9 35e50964
Pipeline #2319 passed with stage
in 3 minutes and 20 seconds
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment