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

Komponente User interface
Titel Fixed exception after editing a dashboard as user without permission to publish dashboards
Datum 11.11.2014
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
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.

Zur Liste aller Werks