Univention Bugzilla – Bug 46175
Unify locked and disabled handling
Last modified: 2018-03-14 13:11:52 CET
disabled changed from ('all', 'none') to ('1', '0'). locked changed from ('all', 'none') to locked=="1" (read only) and unlock="1". +++ This bug was initially created as a clone of Bug #39817 +++
Feature branch: fbest/46175-unify-disabled-locked
Changes have been merged. ucs-school-import (16.0.1-1) 3817f4e390f0 | Bug #46175: Merge branch 'fbest/46175-unify-disabled-locked' into 4.3 0169889cb9d8 | Bug #46175: adapt to API change of "disabled" property cc327a36bc76 | Bug #46175: adapt to API change of "disabled" property ucs-test-ucsschool (5.0.2-2) 3817f4e390f0 | Bug #46175: Merge branch 'fbest/46175-unify-disabled-locked' into 4.3 ed32a196452e | Bug #46175: adapt test cases to API change ucs-school-info (8.0.1-1) 3817f4e390f0 | Bug #46175: Merge branch 'fbest/46175-unify-disabled-locked' into 4.3 3767b5c69ae5 | Bug #46175: adapt to API change of "disabled" property ucs-school-lib (11.0.1-1) 3817f4e390f0 | Bug #46175: Merge branch 'fbest/46175-unify-disabled-locked' into 4.3 16abea789709 | Bug #46175: adapt to API change of "disabled" property
Hmm, ucs-school-umc-users sets locked=0. Prior locked=0 resettet the "!" in userPassword. Now disabled=0 does this. We probably should add disabled=0 ?!.
(In reply to Florian Best from comment #3) > Hmm, ucs-school-umc-users sets locked=0. Prior locked=0 resettet the "!" in > userPassword. Now disabled=0 does this. We probably should add disabled=0 ?!. No, I don't think so. The password reset performed by teachers should be able to unlock (locked==1) users that have been locked e.g. by Samba. But they should not be able to (re)activate user accounts that have been disabled on purpose by Domain Admins. OK: code change OK: functional change OK: manual test → the UMC module "Passwörter (Schüler)" only unlocks a user (if locked==1) and keeps the current state of "disabled" OK: advisory entry not required / no functional change for customers OK: package built
UCS@school 4.3 v1 has been released. https://docs.software-univention.de/release-notes-ucsschool-4.3v1-de.html If this error occurs again, please clone this bug.