Commit 35e50964 authored by Gabriel Detraz's avatar Gabriel Detraz

Fix function called by perm check

parent 9afe81b9
Pipeline #2318 passed with stage
in 3 minutes and 27 seconds
......@@ -1662,7 +1662,7 @@ class Domain(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
if self.interface_parent:
return self.interface_parent
return self.cname.get_parent_interface()
return self.cname.get_source_interface
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