mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-24 07:53:47 +00:00
Fix function called by perm check
This commit is contained in:
parent
9afe81b9e2
commit
35e50964a1
1 changed files with 1 additions and 1 deletions
|
@ -1662,7 +1662,7 @@ class Domain(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
|
||||||
if self.interface_parent:
|
if self.interface_parent:
|
||||||
return self.interface_parent
|
return self.interface_parent
|
||||||
else:
|
else:
|
||||||
return self.cname.get_parent_interface()
|
return self.cname.get_source_interface
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def can_create(user_request, interfaceid, *_args, **_kwargs):
|
def can_create(user_request, interfaceid, *_args, **_kwargs):
|
||||||
|
|
Loading…
Reference in a new issue