It would be nice to be able to pass the following arguments to
@auth.requires_login(next=URL(...),message=T(...))
where next is the url to redirect to in case of no login. message is
the message to be displayed.
If somebody has time and wants to take a crack at it, let me know. It
should be possible by modifying only the requires_login method.
The problem is passing the arguments from the decorator to the
function being returned.
Once the problem is solved we can add the feature to
requires_membership and requires_permissions.
Massimo