Changes between Version 6 and Version 7 of BluePrintAuthorization


Ignore:
Timestamp:
06/18/10 16:04:00 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorization

    v6 v7  
    3838       accessible = (table.reader_id == None)
    3939       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))
    4142       query = deleted & accessible
    4243    return query