Set machine_access to be a private attribute of machine, so the acl is
[invirt/packages/invirt-web.git] / code / controls.py
index ff3691c..57107ef 100644 (file)
@@ -196,8 +196,6 @@ def deleteVM(machine):
             ctx.current.save(nic)
         for disk in machine.disks:
             ctx.current.delete(disk)
-        for access in machine.acl:
-            ctx.current.delete(access)
         ctx.current.delete(machine)
         transaction.commit()
     except: