def METHOD_NAME(*args, **kwargs):
    if is_admin():
        return f(*args, **kwargs)
    else:
        if request.content_type == "application/json":
            abort(403)
        else:
            return redirect(url_for("auth.login", next=request.full_path))