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
>