Changeset 2979 for trunk


Ignore:
Timestamp:
Jan 31, 2010, 11:45:01 PM (14 years ago)
Author:
quentin
Message:

Work around quirk of CherryPy? dispatching that causes username munging to not happen by the time dispatching happens

File:
1 edited

Legend:

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

    r2815 r2979  
    9898
    9999    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
    100103        if name in ("admin", "overlord"):
    101104            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.