Changes between Version 6 and Version 7 of BluePrintAuthorization
- Timestamp:
- 06/18/10 16:04:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v6 v7 38 38 accessible = (table.reader_id == None) 39 39 for role in roles: 40 accessible = accessible & (table.reader_id == str(role)) & (table.reader_id.like('%d|%' % role)) & (table.reader_id.like('%|%d|%' % role)) & (table.reader_id.like('%|%d' % role)) 40 #accessible = accessible & (table.reader_id == str(role)) & (table.reader_id.like('%d|%' % role)) & (table.reader_id.like('%|%d|%' % role)) & (table.reader_id.like('%|%d' % role)) 41 accessible = accessible & (table.reader_id.like('%|%d|%' % role)) 41 42 query = deleted & accessible 42 43 return query