Werk #22173: Views: fix crash without permission for the Host view
| Component | User interface | ||||||
| Title | Views: fix crash without permission for the Host view | ||||||
| Date | Aug 18, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Opening a host or service page crashed with KeyError: host for users who are
not permitted to see the built-in "Host" view, or on sites where that view was
removed.
The breadcrumb of such a page now simply omits the host home page level, which the user could not have opened anyway, and the page renders again.