thomshouse/escher — pull request #11 by adetwiler (2011-11-30 23:46:36+00:00)
Title: Adding 401 behaviors in error controller

* New function unauthorized() redirects non-authenticated users to
the login, passing the requested URL along as a query string
parameter.
* If user is authenicated but does not have access, 401 error
behaves exactly as 403 error.