Rename misleading relation from users to acl.
[invirt/packages/invirt-database.git] / sipb_xen_database / models.py
index d07950a..e34051b 100644 (file)
@@ -90,7 +90,7 @@ assign_mapper(ctx, Machine, machine_table,
               properties={'nics': relation(NIC, backref="machine"),
                           'disks': relation(Disk, backref="machine"),
                           'type': relation(Type),
-                          'users': relation(MachineAccess, backref="machine")});
+                          'acl': relation(MachineAccess, backref="machine")});
 assign_mapper(ctx, MachineAccess, machine_access_table)
 assign_mapper(ctx, NIC, nic_table)
 assign_mapper(ctx, Disk, disk_table)