Changeset 2979 for trunk/packages/invirt-web/code/main.py
- Timestamp:
- Jan 31, 2010, 11:45:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r2815 r2979 98 98 99 99 def __getattr__(self, name): 100 # At the point __getattr__ is called, tools haven't been run. Make sure the user is logged in. 101 cherrypy.tools.remote_user_login.callable() 102 100 103 if name in ("admin", "overlord"): 101 104 if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.afs.cells[0].cell):
Note: See TracChangeset
for help on using the changeset viewer.