Changeset 2217


Ignore:
Timestamp:
Feb 27, 2009, 3:48:19 PM (15 years ago)
Author:
broder
Message:

Use the newly globalized adminacl instead of the old web.adminacl.

File:
1 edited

Legend:

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

    r2189 r2217  
    616616                 'Location': 'admin/'},
    617617                "You shouldn't see this message.")
    618     if not username in getAfsGroupMembers(config.web.adminacl, 'athena.mit.edu'):
     618    if not username in getAfsGroupMembers(config.adminacl, 'athena.mit.edu'):
    619619        raise InvalidInput('username', username,
    620                            'Not in admin group %s.' % config.web.adminacl)
     620                           'Not in admin group %s.' % config.adminacl)
    621621    newstate = State(username, isadmin=True)
    622622    newstate.environ = state.environ
Note: See TracChangeset for help on using the changeset viewer.