Ignore:
Timestamp:
Nov 22, 2009, 8:54:11 PM (15 years ago)
Author:
broder
Message:

Re-arrange the authz configuration.

In particular, even if we allow for mixing of multiple authz
mechanisms at some point, you won't have multiple instances of the
locker authz type, so the "type" shouldn't be a property of each of
the cells we specify how to authenticate against.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/python/database/validate.py

    r2540 r2557  
    241241        admin = 'system:' + admin
    242242    try:
    243         if user in getafsgroups.getAfsGroupMembers(admin, config.authz[0].cell):
     243        if user in getafsgroups.getAfsGroupMembers(admin, config.authz.cells[0].cell):
    244244            return admin
    245245    except getafsgroups.AfsProcessError, e:
Note: See TracChangeset for help on using the changeset viewer.