Check route and permissions when generating breadcrumbs