Changeset 2591 for package_branches/invirt-web/cherrypy/code/main.py
- Timestamp:
- Dec 7, 2009, 10:05:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2558 r2591 92 92 def __getattr__(self, name): 93 93 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): 95 95 raise InvalidInput('username', cherrypy.request.login, 96 96 'Not in admin group %s.' % config.adminacl)
Note: See TracChangeset
for help on using the changeset viewer.