Werk #14719: Local customizations might need adjustment due refactorings in GUI code (PasswordFromStore)
|Title||Local customizations might need adjustment due refactorings in GUI code (<tt>PasswordFromStore</tt>)|
|Date||Sep 2, 2022|
|Checkmk Edition||Checkmk Raw (CRE)|
|Compatibility||Incompatible - Manual interaction might be required|
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
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.