Changes between Version 80 and Version 81 of BluePrintAuthorization


Ignore:
Timestamp:
06/22/10 14:43:01 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorization

    v80 v81  
    1717        user_id = auth.user.id
    1818        _memberships = db.auth_membership
    19         memberships = db(_memberships.user_id == user_id).select(_memberships.group_id, cache=(cache.ram, 60)) # 60s cache
     19        memberships = db(_memberships.user_id == user_id).select(_memberships.group_id)
    2020        for membership in memberships:
    2121            roles.append(membership.group_id)