Univention Bugzilla – Bug 41293
Add new feature of OU-spanning users to UCS@school user wizard
Last modified: 2016-09-30 12:16:54 CEST
The new feature "OU-spanning users" has to be added to the UCS@school user wizard "Schüler (Schulen)". The following changes are planned: 1) In the grid the column "School"/"Schule" shall be moved from first column to last column. 2) The column "Schule" should contain a comma-separated list of display names of the OUs; currently only the name of the OU is shown and not the displayName if the OU object 3) The add/modify wizard should contain a new widget that shows the list of OUs (Display Names) the current user is member of. This new widget shall be always read-only. During "add" action, the current OU is added by default. 4) Above of the grid, there shall be a new button (called something like "Benutzer aus anderer Schule importieren"). This new action shall enable domain admins/school admins to search for users in a foreign school and add them to their local school. Please note: if the school admin / domain admin has access to more than one OU, the dialog should enable the admin to interactively select to which OU the selected user shall be added. 5) When deleting users, it has to be checked if users are selected that are member of more than one school OU. If this is the case, a popup asks the admin, if the multi-OU-users shall be "unsubscribed" from local OU *XOR* if the user objects shall be removed from LDAP. 5a) Problem: what do we do if the school admin is member of more than one OU and the admin is trying to "remove" multi-OU-users? The admin has to decide from which OU the selected user is "unsubscribed".
Created attachment 7675 [details] intermediate patch This patch addresses the following: * moved column "School" * column "School" contains a list * show the schools a user is member of on the edit wizard * currently also shown for new users, is that ok? * adds a copy user wizard * currently without a connection to backend -> empty fields
Created attachment 7709 [details] intermediate patch 2 as discussed this bug removes the user copy wizard. Instead a form that ask the user on which school the admin wants to edit users is added after opening the "Users (schools)" module.
Created attachment 7710 [details] intermediate patch 3
(In reply to Johannes Keiser from comment #2) > Created attachment 7709 [details] > intermediate patch 2 > > as discussed this bug removes the user copy wizard. > Instead a form that ask the user on which school the admin wants to edit > users is > added after opening the "Users (schools)" module. if there is only one school skip the choose school page
Created attachment 7712 [details] patch Remove school column from user grid. Remove list of schools from user wizard.
Florian: please get in touch with Jürn and help to implement resp. implement missing backend functionality.
The translation is currently missing. Jürn can you add and commit it?
(In reply to Florian Best from comment #7) > The translation is currently missing. Jürn can you add and commit it? Done. Also when deleting a user the selected school is now send and not the ou. r70006: send the currently selected school when deleting a user Could you implement that the school gets removed from "ucsschoolSchool" as long as there is more than one school for the user? And delete the user if it was the last school the user was in. Is it a problem that a user could be only in school "A" but is saved under the ou from school "B"?
*** Bug 41534 has been marked as a duplicate of this bug. ***
*** Bug 40940 has been marked as a duplicate of this bug. ***
*** Bug 35660 has been marked as a duplicate of this bug. ***
*** Bug 40598 has been marked as a duplicate of this bug. ***
New delete behavior: The user is only completely removed if he/she is part of only ONE school. Otherwise he gets removed from the selected school. If that school is the school where he/she lies under he/she is moved to a random other school where he is part of. The fix is unfinished but will continue at Bug #41593.
*** Bug 41593 has been marked as a duplicate of this bug. ***
(In reply to Florian Best from comment #14) > *** Bug 41593 has been marked as a duplicate of this bug. *** This has been done here now.
OK: code changes in commits with 'Bug #41293' in subject OK: users are found and displayed in correct schools, with correct classes OK: if a user is removed from a school, the account is kept OK: if a user is removed from an addition school, the other schools are kept OK: if a user is removed from its primary school (position), a school move is performed
UCS@school 4.1 R2 has been released: http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf If this error occurs again, please use "Clone This Bug".