Re: [web2py] Re: SQLFORM grid Authentication.

2011-11-09 Thread Naleen Yadav
sorry for this post i got the solution to remove the add button from the form. its using the create=auth.has_membership('group_name') now all things are working. thanks a lot . I am pretty excitted about web2py. Regards, Naleen Yadav GENPRO Technologies Pvt Ltd. On Thu, Nov 10, 2011 at 11:31 AM

Re: [web2py] Re: SQLFORM grid Authentication.

2011-11-09 Thread Naleen Yadav
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, Ma

[web2py] Re: SQLFORM grid Authentication.

2011-11-09 Thread Massimo Di Pierro
+1 On Nov 9, 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

Re: [web2py] Re: SQLFORM grid Authentication.

2011-11-09 Thread Jim Steil
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_g

[web2py] Re: SQLFORM grid Authentication.

2011-11-09 Thread Anthony
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