Ignore:
Timestamp:
Oct 20, 2008, 1:55:53 PM (15 years ago)
Author:
broder
Message:

Revert r1154 and instead apply the patch in cache_acls so that an error is
still thrown when the ACL is looked up as part of the website code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/cache_acls.py

    r1095 r1155  
    77
    88def expandLocker(name):
    9     groups = getafsgroups.getLockerAcl(name)
     9    try:
     10        groups = getafsgroups.getLockerAcl(name)
     11    except getafsgroups.AfsProcessError, e:
     12        if e.message.startswith("fs: You don't have the required access rights on"):
     13            groups = []
     14        raise
    1015    cell = getafsgroups.getCell(name)
    1116    ans = set()
Note: See TracChangeset for help on using the changeset viewer.