is_admin) { throw new AuthorizationException; } return $next($request); } }