Werk #5530: Clicking on 'Edit dashboard' accidentially copied dashboards with 'publish to others'

TitelClicking on "Edit dashboard" accidentially copied dashboards with "publish to others"
Datum2017-11-17 15:05:27
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.4.0p21,1.5.0i1
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein 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.