port docker manager to ubuntu

This commit is contained in:
usmannasir
2019-01-09 14:55:10 +05:00
parent fd084580f6
commit f9bfccee60
11 changed files with 1337 additions and 981 deletions

View File

@@ -453,7 +453,6 @@ class ACLManager:
@staticmethod
def checkContainerOwnership(name, userID):
return 1
try:
container = Containers.objects.get(name=name)
currentACL = ACLManager.loadedACL(userID)
@@ -513,7 +512,7 @@ class ACLManager:
for items in admins:
cons = items.containers_set.all()
for con in cons:
containerList.append(web)
containerList.append(con)
return containerList