Changeset 868 for trunk/packages


Ignore:
Timestamp:
Aug 4, 2008, 11:23:44 PM (16 years ago)
Author:
price
Message:

configurize admin-mode acl

File:
1 edited

Legend:

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

    r867 r868  
    601601                 'Location': 'admin/'},
    602602                "You shouldn't see this message.")
    603     if not username in getAfsGroupMembers('system:xvm', 'athena.mit.edu'):
     603    if not username in getAfsGroupMembers(config.web.adminacl, 'athena.mit.edu'):
    604604        raise InvalidInput('username', username,
    605                            'Not in admin group %s.' % 'system:xvm')
     605                           'Not in admin group %s.' % config.web.adminacl)
    606606    newstate = State(username, isadmin=True)
    607607    newstate.environ = state.environ
Note: See TracChangeset for help on using the changeset viewer.