I want user to see their and only their record on smartgrid that they 
created.

I can limit who edits or deletes it with:

 is_owner = (lambda row: row.created_by == auth.user_id) if auth.user else 
False
 editable=is_owner, deletable=is_owner,

but how do I keep other users from viewing the creator's record?  Is there 
an "viewable=is_owner," attribute?

thanks,

Alex Glaros

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to