From 3df9a43688a06544e43a54d231a267f5725eb4ec Mon Sep 17 00:00:00 2001 From: usmannasir Date: Fri, 22 Dec 2023 07:19:30 +0500 Subject: [PATCH] adjust some functions --- websiteFunctions/website.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websiteFunctions/website.py b/websiteFunctions/website.py index 66e06cf47..c490ce699 100755 --- a/websiteFunctions/website.py +++ b/websiteFunctions/website.py @@ -6898,7 +6898,7 @@ def ListDockerSites(self, request=None, userID=None, data=None, DeleteID=None): if DeleteID != None: DockerSitesDelete = DockerSites.objects.get(pk=DeleteID) - if ACLManager.checkOwnership(DockerSitesDelete.admin, admin, currentACL) == 1: + if ACLManager.checkOwnership(DockerSitesDelete.admin.domain, admin, currentACL) == 1: pass else: return ACLManager.loadError()