Werk #14719: Local customizations might need adjustment due refactorings in GUI code (PasswordFromStore)

Komponente Setup
Titel Local customizations might need adjustment due refactorings in GUI code (<tt>PasswordFromStore</tt>)
Datum 02.09.2022
Checkmk-Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0b1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

This werk only affects users of non-tribe29 local customizations (single files and MKPs from non- tribe29 sources such as the Checkmk exchange).

Before this werk, the Checkmk codebase offered two convenience functions for creating ValueSpecs for passwords (either entered directly or selected from the password store): IndividualOrStoredPassword and PasswordFromStore. These two functions had misleading names and were therefore renamed:

  • IndividualOrStoredPassword was renamed to MigrateToIndividualOrStoredPassword,

because this actually reflects what the returned ValueSpec does: It allows users to either directly enter a password or select one from the store. Furthermore, it also handles legacy configurations which did not offer the option to use the password store.

  • PasswordFromStore was renamed to IndividualOrStoredPassword, which also
reflects its purpose: either directly enter a password or to select one from the store, but without the handling of legacy configurations.

To stay compatible, we recommend to simply use IndividualOrStoredPassword instead of PasswordFromStore in Checkmk 2.1 customizations, which will continue working when upgrading to 2.2.

Note that this only affects non-tribe29 customizations because as of the writing of this werk, any customization produced by tribe29 will be obsolete with Checkmk 2.2.

Zur Liste aller Werks