--
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+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/YhzviZbdwW0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
ok, rolling back a little.
if the user is accessing the link without issues without any signature, then it should be able to click on the link and reach the page. This also means that the grid you're publishing has user_signature = False, right ?
By default all the URL generated by the grid are digitally signed and verified. This means one cannot perform certain actions (create, update, delete) without being logged-in. These restrictions can be relaxed:
def manage_users():
grid = SQLFORM.grid(db.auth_user,user_signature=False)
return locals()but we do not recommend it.
The last line is the kicker here... I don't really want to turn this off if I don't have to. I don't know why, but it isn't recommended. There is no further explanation of why it isn't recommended and if I knew more about the underlying protocols it would probably make sense. But, since I don't understand it fully, could someone elaborate on why this wouldn't be recommended?
-Jim
that why then. if the user is only allowed to access the grid WITH the signature, he can't access the same link without the signature (and that's the whole point about signed links).
You need to figure out yourself (with your application's demands) what to do (i.e. sending a signed link by mail, turning off signatures, send a link to a page that then redirects to the signed link to the grid, etc etc etc)
Thanks for all the help. You guys are awesome.
Jim