Ignore:
Timestamp:
Nov 22, 2009, 9:02:31 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/code/main.py

    r2534 r2558  
    9292    def __getattr__(self, name):
    9393        if name in ("admin", "overlord"):
    94             if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz[0].cell):
     94            if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.cells[0].cell):
    9595                raise InvalidInput('username', cherrypy.request.login,
    9696                                   'Not in admin group %s.' % config.adminacl)
Note: See TracChangeset for help on using the changeset viewer.