mrjoes/flask-admin — pull request #237 by imustac (2013-05-31 04:07:12+00:00)
Title: Add before_request to admin blueprints

Useful to control access to whole flask-admin

```python
def check_access():
if not user.is_admin():
return redirect(url_for('index'))

admin = Admin(app, before_request=check_access)
```