def recreq():
    ' Recovery Requests List '
    table = s3db.dvi_recreq
    table.person_id.default = s3_logged_in_person()

    def prep(r):
        if (r.interactive and (not r.record)):
            table.status.readable = False
            table.status.writable = False
            table.bodies_recovered.readable = False
            table.bodies_recovered.writable = False
        return True
    s3.prep = prep
    output = s3_rest_controller()
    return output
Recovery Requests List
def recreq():
    '  '
    table = s3db.dvi_recreq
    table.person_id.default = s3_logged_in_person()

    def prep(r):
        if (r.interactive and (not r.record)):
            table.status.readable = False
            table.status.writable = False
            table.bodies_recovered.readable = False
            table.bodies_recovered.writable = False
        return True
    s3.prep = prep
    output = s3_rest_controller()
    return output