Changeset 266


Ignore:
Timestamp:
Feb 2, 2008, 3:33:15 AM (17 years ago)
Author:
quentin
Message:

Check quotas against the machine's owner and not the user committing the act

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/main.py

    r261 r266  
    147147
    148148    memory = fields.getfirst('memory')
    149     memory = validation.validMemory(user, memory, on=True)
     149    memory = validation.validMemory(owner, memory, on=True)
    150150   
    151151    disk_size = fields.getfirst('disk')
    152     disk_size = validation.validDisk(user, disk_size)
     152    disk_size = validation.validDisk(owner, disk_size)
    153153
    154154    vm_type = fields.getfirst('vmtype')
Note: See TracChangeset for help on using the changeset viewer.