HIi i am useng the following codes :-

def test():
    table = 
SQLFORM.grid(db.abc,create=(auth.has_permission('CRUD','auth_user') or 
auth.has_permission('Admin','auth_user')), maxtextlength=100, selectable = 
(lambda ids: del_abc(ids) and (auth.has_permission('Admin','auth_user'))))  
    return dict(table=table)

but here i am not be able to hide the selectable based on the permissions 
so i want to hide the permissions with lambda in selectable.

Reply via email to