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

Update the cherrypy branch to use authz.afs.cells instead of just
authz.cells, to stay in sync with r2590.

(Again, this isn't really a cherry-pick, but whatever)

File:
1 edited

Legend:

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

    r2716 r2717  
    8787    def __getattr__(self, name):
    8888        if name in ("admin", "overlord"):
    89             if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.cells[0].cell):
     89            if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.afs.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.