Ignore:
Timestamp:
Aug 8, 2008, 2:41:38 AM (16 years ago)
Author:
y_z
Message:
  • further integration of invirt.config
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/validation.py

    r874 r879  
    66import string
    77from invirt.database import Machine, NIC, Type, Disk, CDROM, Autoinstall
     8from invirt.config import structs as config
    89from webcommon import InvalidInput
    910
     
    224225        admin = 'system:' + admin
    225226    try:
    226         if user in getafsgroups.getAfsGroupMembers(admin, 'athena.mit.edu'):
     227        if user in getafsgroups.getAfsGroupMembers(admin, config.authz[0].cell):
    227228            return admin
    228229    except getafsgroups.AfsProcessError, e:
Note: See TracChangeset for help on using the changeset viewer.