Ignore:
Timestamp:
Dec 20, 2009, 9:47:16 PM (14 years ago)
Author:
broder
Message:

"Cherry-pick" r2557 (Re-arrange the authz configuration.) to the
cherrypy branch.

(It's somewhat tenuous to claim this is a cherry-pick, given that all
of the changes would have conflicted had I actually tried to
cherry-pick the change. Oh well)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy-rebased/code/main.py

    r2715 r2716  
    8787    def __getattr__(self, name):
    8888        if name in ("admin", "overlord"):
    89             if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz[0].cell):
     89            if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.cells[0].cell):
    9090                raise InvalidInput('username', cherrypy.request.login,
    9191                                   'Not in admin group %s.' % config.adminacl)
Note: See TracChangeset for help on using the changeset viewer.