Skip to content

Commit

Permalink
adjust some functions
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Dec 22, 2023
1 parent e4f31be commit 3df9a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websiteFunctions/website.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3df9a43

Please sign in to comment.