Ignore:
Timestamp:
Nov 13, 2007, 8:18:32 PM (16 years ago)
Author:
ecprice
Message:

Revert to old list method until we start updating the cache.
Fix a bug in getafsgroups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/getafsgroups.py

    r236 r246  
    7777
    7878    for entry in values:
    79         if entry[0] == user or (entry[0][0:6] == "system" and
    80                                 checkAfsGroup(user, entry[0], cell)):
     79        if entry == user or (entry[0:6] == "system" and
     80                                checkAfsGroup(user, entry, cell)):
    8181            return False
    8282    return "You don't have admin bits on /mit/" + locker
Note: See TracChangeset for help on using the changeset viewer.