Changeset 2022


Ignore:
Timestamp:
Jan 27, 2009, 5:56:04 PM (15 years ago)
Author:
broder
Message:

Don't assume that the user creating a VM has a locker with the same
name.

This isn't true, for example, for people using root instance tickets
with SPNEGO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/validation.py

    r1825 r2022  
    242242    If machine is None, this is the owner of a new machine.
    243243    """
    244     if owner == user:
    245         return owner
    246244    if machine is not None and owner in (machine.owner, None):
    247245        return machine.owner
Note: See TracChangeset for help on using the changeset viewer.