Thanks to all its working. I have one more problem that i dont want the add button to appear in the form layout for that i tried few things such as writable=False but it is wrong to use writable, so can u tell the possible solution.
Once again thanks to u all. On Thu, Nov 10, 2011 at 12:39 AM, Massimo Di Pierro < [email protected]> wrote: > +1 > > On Nov 9, 7:27 am, Anthony <[email protected]> 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 >

