Bug 34200 - Make display property for UDM grids configurable
Make display property for UDM grids configurable
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.2
Other Linux
: P5 enhancement (vote)
: UCS 3.2-2-errata
Assigned To: Dirk Wiesenthal
Florian Best
Depends on:
  Show dependency treegraph
Reported: 2014-02-26 11:38 CET by Dirk Wiesenthal
Modified: 2014-08-07 17:48 CEST (History)
2 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):
Max CVSS v3 score:

Content of "Name" column is configurable via UCR (1.48 KB, patch)
2014-02-26 12:05 CET, Dirk Wiesenthal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2014-02-26 11:38:53 CET
For example, consider users:
In the grid of users/user, the username is shown. It should be possible to change that to displayName.

Remember to fallback to username!

See also Bug#32758. This bug's scope is not to make the grid structure configurable, but only what is shown in the "Name" column.
Comment 1 Dirk Wiesenthal univentionstaff 2014-02-26 11:55:59 CET
Already built for UCS in AD Domain
  univention-management-console-module-udm 4.2.2-1.441.201402261147
Comment 2 Dirk Wiesenthal univentionstaff 2014-02-26 12:05:03 CET
Created attachment 5805 [details]
Content of "Name" column is configurable via UCR

The content of the name column came from udm_objects.description( obj ), which uses obj.description() if available. And it is always available: simpleLdap has that defined as "return rdn". Can be overwritten by the module, done in shares and others.

Decided it would be the safest way to implement it in umc-udm. Shall not be used outside of the web frontend, so better not do it in the directory manager modules.
Comment 3 Dirk Wiesenthal univentionstaff 2014-06-11 16:11:23 CEST
Fixed in
  univention-management-console-module-udm 4.0.97-23.447.201406111551
  univention-directory-manager-modules 9.0.76-3.1199.201406111603

The latter is just documentation for the new variable. Rather belongs to UMC-UDM, but those variables ("directory/manager/web/modules/%s/display") are documented in UDM itself for historical reasons.

Test with
  ucr set directory/manager/web/modules/users/user/display=displayName
Comment 4 Florian Best univentionstaff 2014-06-12 12:21:27 CEST
Name can be changed: OK
Missing attributes are ignored: OK
UCR variable description: OK
Comment 5 Janek Walkenhorst univentionstaff 2014-08-07 17:47:08 CEST
Comment 6 Janek Walkenhorst univentionstaff 2014-08-07 17:48:23 CEST