Rename misleading relation from users to acl.
[invirt/packages/invirt-web.git] / controls.py
index 620402b..2e9b541 100644 (file)
@@ -201,7 +201,7 @@ def deleteVM(machine):
             ctx.current.save(nic)
         for disk in machine.disks:
             ctx.current.delete(disk)
-        for access in machine.users:
+        for access in machine.acl:
             ctx.current.delete(access)
         ctx.current.delete(machine)
         transaction.commit()