Changeset 868 for trunk/packages/sipb-xen-www/code/main.py
- Timestamp:
- Aug 4, 2008, 11:23:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/main.py
r867 r868 601 601 'Location': 'admin/'}, 602 602 "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'): 604 604 raise InvalidInput('username', username, 605 'Not in admin group %s.' % 'system:xvm')605 'Not in admin group %s.' % config.web.adminacl) 606 606 newstate = State(username, isadmin=True) 607 607 newstate.environ = state.environ
Note: See TracChangeset
for help on using the changeset viewer.