please use query : *db.person.created_by == db.auth.user.id* in your grid.
e.g.
@auth.requires_login()
def person():
    created_by_user=db.person.created_by == db.auth.user.id
    grid=SQLFORM.grid(db.person, user_signature=False, 
                      editable=created_by_user, deletable=created_by_user)
    return locals()

or you can try :
@auth.requires_login()
def person():
    query=db.person.created_by == db.auth.user.id
    grid=SQLFORM.grid(query, user_signature=False)
    return locals()

hope this can help

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to