mattupstate/flask-security — pull request #23 by tescalada (2012-06-28 01:25:26+00:00)
Title: custom permission denied url

roles_required and roles_allowed now have the ability to redirect
to a custom url. If none is defined, it will redirect to the
referrer, or to the root as normal.