Univention Bugzilla – Bug 45977
password-change should be more intuitive
Last modified: 2020-07-03 20:55:23 CEST
A customer reported, that his users always close the browser, caused by the message: "Für den angemeldeten Benutzer cschein ist kein Modul verfügbar." and do not go further to the menu, to change their password. Is there a means to route the user to the menu directly
Created attachment 9339 [details] Move password change menu logic to univention-management-console As of UCS 4.2-0 univention-management-console-module-passwordchange is implemented with a UMC hook (no backend code) instead of a complete UMC module. This results in an empty response when 'univention/get/modules' is queried. In UCS 4.1 the response included passwordchange as the only module for regular users, which in turn would be opened. With UCS 4.2 the passwordchange module is not opened as there is none and triggers the described issue. The attached proposal will make managment/univention-management-console-module-passwordchange obsolete.
(In reply to Eduard Mai from comment #1) > Created attachment 9339 [details] > Move password change menu logic to univention-management-console > > As of UCS 4.2-0 univention-management-console-module-passwordchange is > implemented with a UMC hook (no backend code) instead of a complete UMC > module. This results in an empty response when 'univention/get/modules' is > queried. > > In UCS 4.1 the response included passwordchange as the only module for > regular users, which in turn would be opened. > > With UCS 4.2 the passwordchange module is not opened as there is none and > triggers the described issue. > > The attached proposal will make > managment/univention-management-console-module-passwordchange obsolete. I think in the inital design we decided to implement this as module (and then as hook), for separation of concerns. Yes, probably now the module might not be necessary anymore. But I think we should not move the code into the UMC core. What I could imagine and what might be better is to move the hook into univention-management-console-frontend and remove that nearly empty debian package. Leaving it as hook also allows customers to disable the menu entry. Moving it into the core would also remove the entry e.g. from the menu of the portal.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.