Suppose I have a simple controller like: @auth.requires_login() def dog(): form=SQLFORM.grid(db.dog, csv=False, paginate=10) #return dict(form=form) return locals()
>From the grid I choose a particular dog (say id == 1), click on 'view' and go to a page with the dog's details displayed as expected. If I then amend the url args in the browsers address bar to attempt to load a nonexistent dog (lets say id == 1000) then the result is very bare page with text: invalid function (default/error) If I attempt the same from the analogous 'edit' page I am returned to the main grid page and an alert box says 'not authorized'. Now it seems to me that the 'edit' page behaviour is much cleaner - should the two modes ('edit' and 'view') behave similarly? It seems to me like they should. Regards Mark --