Werk #5530

KomponenteGUI
TitelClicking on "Edit dashboard" accidentially copied dashboards with "publish to others"
Datum2017-11-17 15:05:27
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p21,1.5.0i1
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätKompatibel- benötigt keine manuelles eingreifen

When one clicks on "Edit dashboard" to edit the currently visible dashboard and the dashboard is not owned by this user, the dashboard is cloned in the context of the current user. This is intended and equal to, for example, the views.

What was unintended is the fact that the "public" flag of the cloned dashboards was not forced to be forced. This way all users (with enough permissions) were publishing their cloned views leading to strang situations where from time to time a user could see different dashboards.

The "Make this dashboard available for other users" is forced to be unchecked. This way a user clones the dashboard for himself in the first place.