Bug 39292 - update of displayName runs too often
Summary: update of displayName runs too often
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC - Users
Version: UCS 4.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 4.0-3-errata
Assignee: Daniel Tröder
QA Contact: Stefan Gohmann
URL:
Keywords:
Depends on: 38385
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-31 19:22 CEST by Daniel Tröder
Modified: 2015-09-09 08:14 CEST (History)
5 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Customer ID: 00009
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2015-08-31 19:22:31 CEST
+++ This bug was initially created as a clone of Bug #38385 +++

The diplayName is reset if any of a users main properties is changed. As the automatic update causes problems in UCS@school (teachers want to update passwords but cannot, because ACLs forbid them to update displayName, cn, sn as well), the code should be changed for now to either take into account the permissions of the logged in user or to only change the displayName if first and last name were changed.
Comment 1 Daniel Tröder univentionstaff 2015-08-31 19:30:00 CEST
Maybe this should go to UCS@school?

Commit 63357 makes the user handler set the displayname only if first or last name were changed.

YAML (r63358): 2015-08-31-univention-directory-manager-modules.yaml
Comment 2 Stefan Gohmann univentionstaff 2015-09-01 07:41:09 CEST
ucs-test: OK

Manual tests: OK

@school tests: OK

YAML: OK (+ r63360)
Comment 3 Janek Walkenhorst univentionstaff 2015-09-01 11:53:53 CEST
<http://errata.univention.de/ucs/4.0/295.html>