Univention Bugzilla – Bug 51495
school import configs new_user_passwords and user_import_summary cannot be used in ResultPyHook
Last modified: 2020-06-15 14:31:57 CEST
The configuration values of "new_user_passwords" and "user_import_summary" in the UCS@school import often contain date format strings. For example: "/var/lib/ucs-school-import/summary/%Y/%m/user_import_summary_%Y-%m-%d_%H:%M:%S.csv" Currently they are only formatted to a concrete path when used. As the exact time of use is unknown, hooks cannot use this information to for example send those files by email. Change the code so, that those values are evaluated to concrete values, before ResultPyHooks are called.