role, $roles)) { abort(403, 'Unauthorized access.'); } return $next($request); } }