See 
http://web2py.com/books/default/chapter/29/07/forms-and-validators#grid-and-smartgrid-access-control.

For smartgrid, note that the "editable" and "deletable" arguments can be 
(but need not be) dictionaries specifying different values for each table, 
as discussed here: 
http://web2py.com/books/default/chapter/29/07/forms-and-validators#smartgrid-signature

Anthony

On Thursday, June 8, 2017 at 5:06:32 PM UTC-4, Swayambodha Mohapatra wrote:
>
> Need some help regarding restricting the contents of a table to view only. 
> I have used a smartgrid to link 4 tables. And, I want to restrict the data 
> on the tables in such a way that only the admin can change the data, and 
> not other registered users. 
> Please help. 
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to