Werk #1496: Fixed exception after editing a dashboard as user without permission to publish dashboards

Component User interface
Title Fixed exception after editing a dashboard as user without permission to publish dashboards
Date Nov 11, 2014
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.6b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When a user without permission to publish a dashboard created or customized a dashboard, the dashboard could be saved, but resulted in an exception later during rendering the following pages. This fix prevents creation of damages dashboards.

The exception can be fixed by removing the dashboard definition from var/check_mk/web/USER/user_dashboards.mk or simply removing the whole file, which would delete all custom dashboards of the user.

To the list of all Werks