Univention Bugzilla – Bug 51666
documentation for active and available hooks in ../hooks and ../pyhooks-available is missing
Last modified: 2023-06-23 13:41:33 CEST
It appears as if the enhancement introduced with Bug 49267 is not documented. At least I could not find it in https://docs.software-univention.de/ucsschool-import-handbuch-4.4.html or https://docs.software-univention.de/ucsschool-kelvin-rest-api/.
All hooks that are delivered with the ucs-school-import package should be documented in the import manual ("ucsschool-import-handbuch"). The documentation should include the information whether the hooks are enabled by default or not and how to enable them.
BTW: most hooks include the documentation inside the hook file itself. This is also the case with 'configuration hook "by_role"': https://github.com/univention/ucs-school/blob/4.4/ucs-school-import/usr/share/ucs-school-import/pyhooks-available/ext_config_dep_on_role.py#L31