Anthony
This is fantastic. I too was looking for a way to do this but this
didn't occur to me. Works great.
-Jim
On 11/9/2011 7:27 AM, Anthony wrote:
Have you tried something like:
SQLFORM.grid(..., editable=auth.has_membership('editor_group'),
deletable=auth.has_membership('delete_group'),
user_signature=True)
Anthony
On Wednesday, November 9, 2011 5:16:10 AM UTC-5, Naleen Yadav wrote:
Hii All,
I am using sqlform grid and i just want to put some authentication
on each some functions of grid i.e(Delete , Write) for certain
groups' users
I can do this by using crud.xxx() but i m unable to use
authentication with sqlform grid().
regards,
Naleen