Finally, I am able to do it :) http://www.web2pyslices.com/slice/show/1622/how-to-authorize-users-editing-records-only-for-records-that-were-created-by-tho
On Thursday, July 11, 2013 12:37:53 PM UTC+5:30, Sarbjit singh wrote: > > Just to be clear on my requirement : > > Taking "Image Blog" example provided in web2py manual as reference, I want > to achieve the following functionality : > > 1) Multiple user's to be able to add images. > 2) There should be one "View Records" page which should display all the > records with buttons like edit/delete/view etc, same as manage view > provided in the example with one difference :- Edit/Delete button should be > visible only for user which is currently logged-in into the system and for > the entries made by other users, only view button should be visible. So in > my case, I will add all the users to manage group such that they will be > able to view the grid. But I want only few rows to be made editable. > > Can some one please help me in context of Image Blog example, on how to > achieve this? > > Thanks > Sarbjit > > -- --- 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/groups/opt_out.