Changeset 2217 for trunk/packages/invirt-web/code/main.py
- Timestamp:
- Feb 27, 2009, 3:48:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r2189 r2217 616 616 'Location': 'admin/'}, 617 617 "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'): 619 619 raise InvalidInput('username', username, 620 'Not in admin group %s.' % config. web.adminacl)620 'Not in admin group %s.' % config.adminacl) 621 621 newstate = State(username, isadmin=True) 622 622 newstate.environ = state.environ
Note: See TracChangeset
for help on using the changeset viewer.