Ignore:
Timestamp:
Dec 7, 2009, 10:05:27 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/code/main.py

    r2558 r2591  
    9292    def __getattr__(self, name):
    9393        if name in ("admin", "overlord"):
    94             if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.cells[0].cell):
     94            if not cherrypy.request.login in getAfsGroupMembers(config.adminacl, config.authz.afs.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.