Univention Bugzilla – Bug 51691
Add more fields to the UCS@school User Wizard
Last modified: 2020-08-05 17:07:31 CEST
We want to add the missing attributes of ucsschool.lib users to the UMC User Wizard. The attributes in question are birthday, disabled, ucsschool_roles and schools. The two latter ones will be read only. It should also be possible to configure the visibility of all optional attributes via UCR. That includes email, password, birthday, disabled, ucsschool_roles and schools. They should all be visible by default.
A first implementation can be found in oschwieg/4.4/51691 The UCR variable is not yet implemented.
The visibility of the defined optional fields can now be configured via ucsschool/wizards/schoolwizards/users/optional_visible_fields During installation the value is set to "schools ucsschool_roles password email disabled birthday". The default of the unset variable is an empty string, which means no optional variables are showed. For QA check: UCR variable configures visibility properly Modification and creation of users via UMC module is still possible the new fields disabled and birthday can be set and are changed in the udm object accordingly UCR variable documentation string is good
QA -> All Ok -> REOPEN for merge&build Code (UserWizard.js & postinst) -> looks good. Functionality -> All OK for me, please check if (*) is ok for you. - UCR-V gets installed & set to schools ucsschool_roles password email disabled birthday -> OK - UCR variable configures visibility properly - default Schulen (read only), UCS@school Rollen (read only), Deaktiviert & Geburtstag -> OK - unset only Vorname, Nachname, Benutzername & Klasse (no password & email) -> OK - (*) email & deactivated (the latter is invalid) -> only E-Mail, no error -> OK - Modification and creation of users via UMC module is still possible the new fields disabled and birthday can be set and are changed in the udm object accordingly -> OK (tested in UMC Module & UDM) - UCR variable documentation string is good -> OK
Package: ucs-school-umc-wizards Version: 11.0.0-9A~4.4.0.202007231451 Branch: ucs_4.4-0 Scope: ucs-school-4.4
QA -> all OK -> set to VERIFY Changelog -> OK YAML -> OK Functionality -> OK
UCS@school 4.4 v6 has been released. https://docs.software-univention.de/changelog-ucsschool-4.4v6-de.html If this error occurs again, please clone this bug.