This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-ba6b4aa1-70d1-4342-8e91-ea43cdd2593a XWIKI-22277 Open

Add ability to configure how to display a user name

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4e01c2de-61de-47c9-9519-a13698c0e064 Vincent Massol created this issue on 19/Jun/24 14:02
 
Summary: Add ability to configure how to display a user name
Issue Type: cid:jira-generated-image-avatar-ba6b4aa1-70d1-4342-8e91-ea43cdd2593a Improvement
Affects Versions: 15.10
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 19/Jun/24 14:02
Priority: cid:jira-generated-image-static-major-80f4f2c0-21be-42ee-985a-b310b92ee595 Major
Reporter: Vincent Massol
Description:

Right now, the default is hardcoded in XWiki#getUserName() and is "firstName lastName". However, this is not good for some languages where last name should be first.

Thus, the idea is to make this configurable in the Admin UI, by proposing the ability to use a velocity script to control the display logic. Note that getUserName() already supports executing a velocity script but it's not used ATM.

See:

 
 

1 update

 
cid:jira-generated-image-avatar-4e01c2de-61de-47c9-9519-a13698c0e064 Changes by Vincent Massol on 19/Jun/24 14:02
 
Component: User