Werk #13249: Fix KeyError on view opening if permission "History" is missing

Component User interface
Title Fix KeyError on view opening if permission "History" is missing
Date Sep 28, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If a user did not have the permission "Topics" - "History", when opening a view with history entries in page menu, the error "KeyError: 'history'" occurred.

To the list of all Werks