intranet.views.exceptionviews

Module Contents

Functions

handle_forbidden_for_homepage(→ RenderData | Response)

Usually, the forbidden view offers no way to log in, as we usually

intranet.views.exceptionviews.handle_forbidden_for_homepage(self: webob.exc.HTTPForbidden, request: onegov.org.request.OrgRequest) RenderData | Response[source]

Usually, the forbidden view offers no way to log in, as we usually do not need that feature (exception views should be simple).

For the intranet though, we make an exception for requests hitting the front-page directly.

This is not strictly correct as far as HTTP is concerned.