Univention Bugzilla – Bug 34200
Make display property for UDM grids configurable
Last modified: 2014-08-07 17:48:23 CEST
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.
Already built for UCS in AD Domain univention-management-console-module-udm 4.2.2-1.441.201402261147
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.
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
Name can be changed: OK Missing attributes are ignored: OK UCR variable description: OK YAML: OK
http://errata.univention.de/ucs/3.2/169.html
http://errata.univention.de/ucs/3.2/170.html